XFileSaveObject.Save() Method (Microsoft.DirectX.Direct3D)
Saves a data object and its children to a .x file on disk.
Definition
Visual Basic Public Sub Save() C# public void Save(); C++ public:
void Save();JScript public function Save();
Remarks
After this method succeeds, XFileSaveObject.AddDataObject, XFileSaveData.AddDataObject, and XFileSaveData.AddDataReference can no longer be called until a new XFile object is created.
Exception GraphicsException.ErrorCode Cause GraphicsException XFileErrorCodes.BadObject Data could not be read from or written to an object.