The LoadDocProperties method retrieves the OptionalData and Comment properties that are stored in a specified XML document. These properties indicate what information can be imported from the document.
HRESULT LoadDocProperties( [in] IUnknown* pDocument, [out, optional] BSTR* ItemType, [out, optional] long* OptionalData, [out, optional] BSTR* Comment );
Pointer to the IUnknown interface on the DOMDocument object from which the document properties will be obtained.
Pointer to a BSTR that on return contains a description of the type of item that is stored in the XML document.
Pointer to a 32-bit integer that is set on return to a long value specifying what optional data is included in the XML document. This value is a bitwise combination of values from the FpcExportImportOptionalData enumerated type.
Pointer to a BSTR that on return contains the comment from the XML document. The comment was specified in the call to the Export method that created the XML document.
Sub LoadDocProperties( _ ByRef pDocument As IUnknown, _ [ ByRef ItemType As String ], _ [ ByRef OptionalData As Long ], _ [ ByRef Comment As String ] _ )
Reference to the DOMDocument30 object from which the document properties will be obtained.
String value that describes what type of item is stored in the XML document.
A 32-bit integer that specifies what optional data is included in the XML document. This value is a bitwise combination of values from the FpcExportImportOptionalData enumerated type.
String value that provides the comment from the XML document. The comment was specified in the call to the Export method that created the XML document.
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.
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.