Returns the closest prefix defined in the current namespace scope for the namespace URI.
Namespace: Microsoft.IdentityModel.Protocols.XmlSignature
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim instance As DelegatingXmlDictionaryWriter
Dim ns As String
Dim returnValue As String

returnValue = instance.LookupPrefix(ns)

Syntax

Visual Basic
Public Overrides Function LookupPrefix ( _
		ns As String _
) As String
C#
public override string LookupPrefix (
		string ns
)
C++
public:
virtual String^ LookupPrefix (
		String^ ns
) override
J#
public String LookupPrefix (
		String ns
)
JScript
public override function LookupPrefix (
		ns : String
) : String

Parameters

ns

The namespace URI whose prefix you want to find.

Return Value

The matching prefix or null if no matching namespace URI is found in the current scope.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also