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 a property.

Script Syntax

Copy Code
		
strValue = objXMLDOMSelection.getProperty(
name);

Remarks

Script Parameters

name

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

Script Return Value

Value. Returns the value for the internal SelectionLanguageproperty.

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 property.

C/C++ Return Values

S_OK

Value returned if method successful.

E_INVALIDARG

Value returned if named property does not exist.

Requirements

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

General Remarks

The getPropertymethod returns the value for the internal SelectionLanguageproperty (flag) that was set by calling the setProperty Methodon the document or the default value.

This method applies to the following objects and interfaces:

IXMLDOMSelection

See Also

Other Resources