Retrieves the value of one of the second-level properties that are set either by default or using the setProperty method.
strPropValue = objXMLDOMDocument2.getProperty(name);
var xmlDoc = new ActiveXObject("Msxml2.DOMDocument.5.0"); xmlDoc.setProperty("SelectionLanguage", "XPath"); alert(xmlDoc.getProperty("SelectionLanguage"));
strPropValue = objXMLDOMDocument2.getProperty(name)
Dim xmlDoc As New Msxml2.DOMDocument50 xmlDoc.setProperty "SelectionLanguage", "XPath" MsgBox xmlDoc.getProperty("SelectionLanguage")
HRESULT getProperty(BSTR name, VARIANT* value);
To view reference information for Visual Basic, C/C++, or Script only, click the Language Filter button in the upper-left corner of the page.
Second-level properties | setProperty Method
Applies to: IXMLDOMDocument2