Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

Returns the default properties.

Script Syntax

Copy Code
		
strPropValue = objXMLDOMDocument2.getProperty(
name);

Remarks

Script Parameters

name

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

Script Return Value

Value. Returns the value of the default property.

C/C++ Syntax

Copy Code
HRESULT getProperty(
  BSTR 
name,
  VARIANT* 
value
);

Remarks

C/C++ Parameters

name

[in] String name of the property. This name is case-sensitive.

value

[out, retval] Variant return value of the requested flag.

C/C++ Return Values

S_OK

Value returned if successful.

E_FAIL

Value returned if property name is invalid.

Requirements

Header msxml2.h, msxml2.idl
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

General Remarks

This method applies to the following interface:

IXMLDOMDocument2