DelegatingXmlDictionaryWriter.LookupPrefix Method (String)

.NET Framework (current version)
 
Use BaseTrue

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

Namespace:   System.IdentityModel
Assembly:  System.IdentityModel (in System.IdentityModel.dll)

public override string LookupPrefix(
	string ns
)

Parameters

ns
Type: System.String

The namespace URI whose prefix you want to find.

Return Value

Type: System.String

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

.NET Framework
Available since 4.5
Return to top
Show: