XFile Class

Language:

Retrieves information about XFile file objects.

Definition

Visual Basic NotInheritable Public Class XFile
    Inherits MarshalByRefObject
    Implements IDisposable
C# public sealed class XFile : MarshalByRefObject, IDisposable
C++ public ref class XFile sealed : MarshalByRefObject, IDisposable
JScript public final class XFile extends MarshalByRefObject implements IDisposable

Members Table

Event Description
Disposing Occurs when the Dispose method is called or when the XFile object is finalized and collected by the garbage collector of the .NET common language runtime.
Method Description
Dispose Immediately releases the unmanaged resources used by the XFile object.
Equals Returns a value that indicates whether the current instance is equal to a specified object.
Finalize Allows the XFile object to free resources before it is destroyed by the garbage collector.
GetChild Retrieves an XFileData child object in this XFile object.
GetDataObject Retrieves the XFileData object referenced by name or by a globally unique identifier (GUID).
GetHashCode Returns the hash code for the current instance.
GetManager Returns an XFileManager instance for this XFile object.
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) op_Equality Compares the current instance of a class to another instance to determine whether they are the same.
static (Shared in Visual Basic) 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.XFile.Disposing event when called from within a derived class.
UpdateUnmanagedPointer Updates the unmanaged pointer for this XFile object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code.
XFile Initializes a new instance of the XFile class.
Property Description
Disposed Gets a value that indicates whether the object is disposed.
NumberChildren Retrieves the number of child objects in this file data object.
UnmanagedComPointer Returns the unmanaged Component Object Model (COM) ID3DXFileEnumObject interface pointer.

Inheritance Hierarchy

Object Leave Site
MarshalByRefObject Leave Site
XFile

Remarks

The object for which information is being retrieved 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.900.0,  Culture=neutral,  PublicKeyToken=d3231b57b74a1492

Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

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