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!

XmlTextWriter.LookupPrefix

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

[Visual Basic]
Overrides Public Function LookupPrefix( _
   ByVal ns As String _
) As String
[C#]
public override string LookupPrefix(
   string ns
);
[C++]
public: override String* LookupPrefix(
   String* ns
);
[JScript]
public override 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

XmlTextWriter Class | XmlTextWriter Members | System.NewXml Namespace