Returns a string that contains the value of the namespace URI for the item being queried.
The following is an example of the namespace URI for an element and an attribute, used in an XML schema.
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:oth="http://www.example.microsoft.com/other-schema"> <xsd:element name="bookcategory"> <xsd:complexType> <xsd:attribute name="book"/> </xsd:complexType > </xsd:element> </xsd:schema>
var strNamespaceURI = oISchemaItem.namespaceURI;
None.
strNamespaceURI = oISchemaItem.namespaceURI
None.
HRESULT get_namespaceURI(BSTR* namespaceURI);
To view reference information for Visual Basic or C/C++ only, click the Language Filter button in the upper-left corner of the page.
Using Namespaces in Schemas | Using Other Namespaces
Applies to: ISchemaItem Interface