XFileSaveObject.Save Method

Language:

Note: This documentation is preliminary and is subject to change.

Saves a data object and its children to a .x file on disk.

Definition

Visual Basic .NET Public Sub Save()
C# public void Save();
Managed C++ public: void Save();
JScript .NET 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.


© 2004 Microsoft Corporation. All rights reserved. Terms of use.

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