XFile.GetDataObject Method

Language:

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

Retrieves the XFileData object referenced by name or by a globally unique identifier (GUID).

Definition

Visual Basic .NET Public Function GetDataObject( _
    ByVal dataName As String _
) As XFileData
C# public XFileData GetDataObject(
    string dataName
);
Managed C++ public: XFileData* GetDataObject(
    String *dataName
);
JScript .NET public function GetDataObject(
    dataName : String
) : XFileData;

Parameters

dataName System.String. Specifies the name of the data object to retrieve.

Return Value

Microsoft.DirectX.Direct3D.XFileData . The XFileData object retrieved.

Remarks

Exception GraphicsException.ErrorCode Cause
GraphicsException XFileErrorCodes.BadValue A variable is outside its expected range; typically returned when an object is invalid.
XFileErrorCodes.NotFound Object could not be found from the specified parameters.


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

Feedback? Please provide us with your comments on this topic.