XFileSaveObject.Save Method

Language:

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.


Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.

Feedback? Please provide us with your comments on this topic.