Share via


XFileManager.RegisterXFileTemplates(XFile) Method (Microsoft.DirectX.Direct3D)

Registers custom templates from an XFile object.

Definition

Visual Basic Public Sub RegisterXFileTemplates( _
    ByVal xfileObj As XFile _
)
C# public void RegisterXFileTemplates(
    XFile xfileObj
);
C++ public:
void RegisterXFileTemplates(
    XFilexfileObj
);
JScript public function RegisterXFileTemplates(
    xfileObj : XFile
);

Parameters

xfileObj Microsoft.DirectX.Direct3D.XFile
An XFile object that contains the templates to register.

Remarks

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

See Also