Share via


XFileData.GetXFile() Method (Microsoft.DirectX.Direct3D)

Retrieves an XFile instance for this XFileData object.

Definition

Visual Basic Public Function GetXFile() As XFile
C# public XFile GetXFile();
C++ public:
XFileGetXFile();
JScript public function GetXFile() : XFile;

Return Value

Microsoft.DirectX.Direct3D.XFile
The XFile instance for this XFileData object.

Remarks

Exception GraphicsException.ErrorCode Cause
GraphicsException XFileErrorCodes.BadValue A variable is outside its expected range; typically returned when an object is invalid.