IXMLDOMSelection::getProperty Method
Looks up a property by name.
Visual Basic Syntax
strValue = objXMLDOMSelection.getProperty(name)
C/C++ Syntax
HRESULT getProperty(BSTR name, VARIANT* value);
Parameters
- name [in]
- String name of the property. This name is case-sensitive.
- value [out]
- 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 doesn't exist.
Remarks
The getProperty method returns the value for the SelectionLanguage that was set by calling the setProperty method on the document or the default value.
See Also
IXMLDOMSelection Interface