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!

XmlWriter.LookupPrefix

Returns the prefix defined in the current namespace scope for the specified namespace URI.

[Visual Basic]
MustOverride Public Function LookupPrefix( _
   ByVal ns As String _
) As String
[C#]
public abstract string LookupPrefix(
   string ns
);
[C++]
public: virtual String* LookupPrefix(
   String* ns
) = 0;
[JScript]
public abstract function LookupPrefix(
   ns : String
) : String;

Parameters

ns
Namespace URI whose prefix you want to find.

Return Value

The matching prefix. Or null if no matching namespace URI is in scope.

See Also

XmlWriter Class | XmlWriter Members | System.NewXml Namespace