XmlNode.NamespaceURI Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the namespace URI of this node.
public:
virtual property System::String ^ NamespaceURI { System::String ^ get(); };
public virtual string NamespaceURI { get; }
member this.NamespaceURI : string
Public Overridable ReadOnly Property NamespaceURI As String
Property Value
The namespace URI of this node. If there is no namespace URI, this property returns String.Empty.
Remarks
This is the namespace URI specified at creation time. For example, NamespaceURI
is urn:samples for the element <bk:book xmlns:bk= "urn:samples">
An attribute does not inherit its namespace from the element it is attached to. If an attribute is not explicitly given a namespace, it simply has no namespace.
Applies to
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre