Microsoft DirectX 8.1 (Visual Basic)

DirectXFileSave.SaveTemplates

Saves templates to a Microsoft® DirectX® file.

object.SaveTemplates( _
    Count As Long, _
    TemplateGuids() As String)

Parts

object
Object expression that resolves to a DirectXFileSave object.
Count
Total number of templates to save.
TemplateGuids
Array of String values containing the GUIDs for all templates to save.

Error Codes

If the method fails, an error is raised and Err.Number may be set to DXFILEERR_BADVALUE.

For information on trapping errors, see the Microsoft® Visual Basic® Error Handling topic.

See Also

DirectXFileSave.CreateDataObject