次の方法で共有


getProperty Method (IXMLDOMDocument2) (Compact 2013)

3/26/2014

Returns the default properties.

Syntax

strPropValue = objXMLDOMDocument2.getProperty(name);
HRESULT getProperty(
  BSTR name,
  VARIANT* value
);

Parameters

Script

  • name
    String name of the property. This name is case-sensitive.

C/C++

  • name
    [in] String name of the property. This name is case-sensitive.
  • value
    [out, retval] Variant return value of the requested flag.

Return Value

Script

Value. Returns the value of the default property.

C/C++

  • S_OK
    Value returned if successful.
  • E_FAIL
    Value returned if property name is invalid.

Remarks

This method applies to the following interface:

IXMLDOMDocument2

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

XML DOM Methods