Microsoft DirectX 9.0 SDK Update (October 2004)

XFileManager Class

Language:

Note: This documentation is preliminary and is subject to change.

Manages XFile (.x) objects.

Definition

Visual Basic .NET NotInheritable Public Class XFileManager
   Inherits MarshalByRefObject 
   Implements IDisposable
C# public sealed class XFileManager : MarshalByRefObject,
   IDisposable
Managed C++ public __gc __sealed class XFileManager  : public MarshalByRefObject,
   IDisposable
JScript .NET public class XFileManager extends MarshalByRefObject
   implements IDisposable

Members Table

Event Description
Disposing Occurs when the Dispose method is called or when the XFileManager object is finalized and collected by the garbage collector of the .NET common language runtime.
Method Description
CreateSaveObject Creates a save object.
Dispose Immediately releases the unmanaged resources used by the XFileManager object.
Equals Returns a value that indicates whether the current instance is equal to a specified object.
Finalize Allows the XFileManager object to free resources before it is destroyed by the garbage collector.
FromFile Creates an XFile object used to read a .x file.
FromStream Creates an XFile object from a data stream.
GetHashCode Returns the hash code for the current instance.
GetObjectByValue This member supports the infrastructure for Microsoft® DirectX® 9.0 for Managed Code and is not intended to be used directly from your code.
static (Shared in Visual Basic .NET) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic .NET) op_Inequality Compares the current instance of a class to another instance to determine whether they are different.
raise_Disposing Raises the Microsoft.DirectX.Direct3D.XFileManager.Disposing event when called from within a derived class.
RegisterDefaultTemplates Registers default templates.
RegisterTemplates Registers custom templates.
RegisterXFileTemplates Registers custom templates from an XFile object.
UpdateUnmanagedPointer Updates the unmanaged pointer for this XFileManager object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code.
XFileManager Initializes a new instance of the XFileManager class.
Property Description
Disposed Gets a value that indicates whether the object is disposed.
UnmanagedComPointer Returns the unmanaged Component Object Model (COM) ID3DXFile interface pointer.

Inheritance Hierarchy

Object Leave Site
MarshalByRefObject Leave Site
XFileManager

Remarks

The object should be disposed immediately when it is no longer needed.

Class Information

Namespace Microsoft.DirectX.Direct3D
Assembly Microsoft.DirectX.Direct3DX (microsoft.directx.direct3dx.dll)
Strong Name Microsoft.DirectX.Direct3DX,  Version=1.0.2902.0,  Culture=neutral,  PublicKeyToken=31bf3856ad364e35

© 2004 Microsoft Corporation. All rights reserved. Terms of use.

Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center