| XFile.GetDataObject Method | Language: | 
Retrieves the XFileData object referenced by name or by a globally unique identifier (GUID).
Visual Basic Public Function GetDataObject( _ 
ByVal dataId As Guid _
) As XFileDataC# public XFileData GetDataObject( 
Guid dataId
);C++ public: 
XFileData^ GetDataObject(
Guid dataId
);JScript public function GetDataObject( 
dataId : Guid
) : XFileData;
dataId System.Guid 
Specifies the GUID of the data object to retrieve.
Microsoft.DirectX.Direct3D.XFileData
The XFileData object retrieved.
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. 
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.