XFile.GetDataObject(Guid) Method (Microsoft.DirectX.Direct3D)
Retrieves the XFileData object referenced by name or by a globally unique identifier (GUID).
Definition
Visual Basic Public Function GetDataObject( _
ByVal dataId As Guid_
) As XFileDataC# public XFileData GetDataObject(
GuiddataId
);C++ public:
XFileData^ GetDataObject(
GuiddataId
);JScript public function GetDataObject(
dataId : Guid
) : XFileData;
Parameters
dataId System.Guid
Specifies the GUID 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.
.gif)