Partager via


DelegatingXmlDictionaryWriter.LookupPrefix(String) Method

Definition

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

public override string LookupPrefix (string namespace);
override this.LookupPrefix : string -> string
Public Overrides Function LookupPrefix (namespace As String) As String

Parameters

namespace
String

The namespace URI whose prefix to find.

Returns

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

Applies to