IFPCPersist::LoadDocProperties[C++] | FPCPersist.LoadDocProperties [Visual Basic]

Internet Security and Acceleration Server 2004/2006 SDK

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(
  IUnknown* pDocument,
  BSTR* ItemType,
  long* OptionalData,
  BSTR* Comment );

Parameters

pDocument
[in] Pointer to the IUnknown interface on the DOMDocument object from which the document properties will be obtained.
ItemType
[out, optional] Pointer to a BSTR that on return contains a description of the type of item that is stored in the XML document.
OptionalData
[out, optional] 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.
Comment
[out, optional] 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.

Return Values

This method returns S_OK if the call is successful; otherwise, it returns an error code.

Remarks

Any version of the XML DOM document object from Microsoft XML 4.0, XML 3.0, and XML 2.0 can be used.

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.


Sub LoadDocProperties( _
  ByRef pDocument As IUnknown, _
  [ ByRef ItemType As String ], _
  [ ByRef OptionalData As Long ], _
  [ ByRef Comment As String ] _
)

Parameters

pDocument
[in] Reference to the DOMDocument30 object from which the document properties will be obtained.
ItemType
[out, optional] String value that describes what type of item is stored in the XML document.
OptionalData
[out, optional] 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.
Comment
[out, optional] 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.

Return Values

This method has no return values. If the call is unsuccessful, an error is raised that can be intercepted by using an error handler.

Remarks

Any version of the XML DOM document object from Microsoft XML 4.0, XML 3.0, and XML 2.0 can be used.

Requirements

Client Requires Windows XP.
Server Requires Windows Server 2003. Requires Windows Server 2003 or Windows 2000 for ISA Server 2004 Standard Edition.
Version Requires Internet Security and Acceleration (ISA) Server 2006 or ISA Server 2004.
IDL

Declared in Msfpccom.idl.

DLL Requires Msfpccom.dll.

See Also

FPCPersist

Show: