XFileSaveData Class (Microsoft.DirectX.Direct3D)

Applications use the methods of the XFileSaveData class to add data objects as children of a .x file data node.

Definition

Visual Basic NotInheritable Public Class XFileSaveData
    Inherits MarshalByRefObjectLeave Site
    Implements IDisposableLeave Site
C# public sealed class XFileSaveData : MarshalByRefObjectLeave Site, IDisposableLeave Site
C++ public ref class XFileSaveData sealed : MarshalByRefObjectLeave Site, IDisposableLeave Site
JScript public final class XFileSaveData extends MarshalByRefObjectLeave Site implements IDisposableLeave Site

Members Table

The following table lists the members exposed by the object.

Events

Event Description
Disposing Occurs when the Dispose method is called or when the XFileSaveData object is finalized and collected by the garbage collector of the .NET common language runtime.

Methods

Method Description
AddDataObject Adds a data object as a child of the XFileSaveData file data node.
AddDataReference Adds a data reference as a child of this XFileSaveData file data node. The data reference points to a file data object.
Dispose Immediately releases the unmanaged resources used by the XFileSaveData object.
Equals Returns a value that indicates whether the current instance is equal to a specified object.
Finalize Allows the XFileSaveData object to free resources before it is destroyed by the garbage collector.
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.
GetSaveObject Retrieves the XFileSaveObject for this file data node.
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.XFileSaveData.Disposing event when called from within a derived class.
UpdateUnmanagedPointer Updates the unmanaged pointer for this XFileSaveData object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code.
XFileSaveData Initializes a new instance of the XFileSaveData class.

Properties

Property Description
Disposed Gets a value that indicates whether the object is disposed.
Id Retrieves the GUID of this XFileSaveData file data node.
Name Retrieves the name of this XFileSaveData file data node.
Type Retrieves the template globally unique identifier (GUID) of this file data node.
UnmanagedComPointer Returns the unmanaged Component Object Model (COM) ID3DXFileSaveData interface pointer.

Inheritance Hierarchy

ObjectLeave Site

MarshalByRefObjectLeave Site

XFileSaveData

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