CustomXMLPrefixMappings.LookupPrefix(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Allows you to get a prefix corresponding to the specified namespace.
public:
System::String ^ LookupPrefix(System::String ^ NamespaceURI);
public string LookupPrefix (string NamespaceURI);
abstract member LookupPrefix : string -> string
Public Function LookupPrefix (NamespaceURI As String) As String
Parameters
- NamespaceURI
- String
Contains the namespace URI.
Returns
String
Remarks
If no prefix is assigned to the requested namespace, the method returns an empty string (""). If there are multiple prefixes specified in the namespace manager, the method returns the first prefix that matches the supplied namespace.