NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

XmlNode.GetNamespaceOfPrefix

Looks up the closest xmlns declaration for the given prefix that is in scope for the current node and returns the namespace URI in the declaration.

[Visual Basic]
Overridable Public Function GetNamespaceOfPrefix( _
   ByVal prefix As String _
) As String
[C#]
public virtual string GetNamespaceOfPrefix(
   string prefix
);
[C++]
public: virtual String* GetNamespaceOfPrefix(
   String* prefix
);
[JScript]
public function GetNamespaceOfPrefix(
   prefix : String
) : String;

Parameters

prefix
Prefix whose namespace URI you want to find

Return Value

The namespace URI of the specified prefix.

See Also

XmlNode Class | XmlNode Members | System.NewXml Namespace