scopeName property
Gets the namespace defined for the element.
This property is not supported for Windows apps using JavaScript.
Syntax
HRESULT value = object.get_scopeName(* p);
Property values
Type: BSTR
A BSTR that specifies one of the following values.
-
Default. All standard HTML tags.
-
Namespace prefix that is used with the custom tags. This namespace is declared in the document by using the XMLNS attribute of the html element.
Remarks
To declare the namespace in the document, use the xmlns attribute of the html element.
Download the HTC for the sample below: simple.htc
See also
Show: