Share via


getProperty Method (IXMLDOMSelection) (Compact 2013)

3/26/2014

Returns the SelectionLanguage or SelectionNamespaces internal properties (flags).

Syntax

strValue = objXMLDOMSelection.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 property.

Return Value

Script

Value. Returns the value for the internal SelectionLanguage property.

C/C++

  • S_OK
    Value returned if method successful.
  • E_INVALIDARG
    Value returned if named property does not exist.

Remarks

The getProperty method returns the value for the internal SelectionLanguage property (flag) that was set by calling the setProperty Method on the document or the default value.

This method applies to the following objects and interfaces:

IXMLDOMSelection

Requirements

Header

msxml2.h,
msxml2.idl

Library

uuid.lib

See Also

Reference

XML DOM Methods