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
Athugasemdir
https://aka.ms/ContentUserFeedback.
Væntanlegt: Á árinu 2024 munum við hætta með GitHub-mál sem ábendingaleið fyrir efni og skipta því út fyrir nýtt ábendingakerfi. Frekari upplýsingar er að finna hér:Senda inn og skoða endurgjöf fyrir