Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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:
virtual String^ LookupPrefix(
	String^ ns
) override

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:
© 2017 Microsoft