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.GetPrefixOfNamespace

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

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

Parameters

namespaceURI
Namespace URI whose prefix you want to find

Return Value

The prefix for the specified namespace URI.

See Also

XmlNode Class | XmlNode Members | System.NewXml Namespace