The Export method recursively writes all of the properties of the object and its subobjects to the specified XML document. For a collection, the method also writes all of its elements and their properties to the XML document.
HRESULT Export( [in] IUnknown* pDocument, [in] long OptionalData, [in, optional] BSTR EncryptionPassword, [in, optional] BSTR Comment );
Pointer to the IUnknown interface on the DOMDocument object to which the information will be saved.
A 32-bit integer value that specifies what optional data to include in the export. This value is a bitwise combination of values from the FpcExportImportOptionalData enumerated type.
This method returns S_OK if the call is successful; otherwise, it returns an error code.
Sub Export( _ ByRef pDocument As IUnknown, _ ByVal OptionalData As Long, _ [ ByVal EncryptionPassword As String ], _ [ ByVal Comment As String ] _ )
Reference to the DOMDocument30 object to which the information will be saved.
A 32-bit integer value that specifies what optional data to include in the export. This value is a bitwise combination of values from the FpcExportImportOptionalData enumerated type.
This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.
Any version of the XML DOM document object from Microsoft XML 4.0, XML 3.0, and XML 2.0 can be used.
For more information, see About Persistence.
Client | Requires Windows Vista or Windows XP. |
---|---|
Server | Requires Windows Server 2008. |
Version | Requires Forefront Threat Management Gateway (TMG). |
IDL |
Declared in Msfpccom.idl. |
DLL |
Requires Msfpccom.dll. |
Send comments about this topic to Microsoft
Build date: 11/30/2009
© 2008 Microsoft Corporation. All rights reserved.