CustomXMLPrefixMappings.LookupNamespace Method
Allows you to get the namespace corresponding to the specified prefix.
Namespace: Microsoft.Office.Core
Assembly: office (in office.dll)
Syntax
'Declaration
Function LookupNamespace ( _
Prefix As String _
) As String
'Usage
Dim instance As CustomXMLPrefixMappings
Dim Prefix As String
Dim returnValue As String
returnValue = instance.LookupNamespace(Prefix)
string LookupNamespace(
string Prefix
)
Parameters
Prefix
Type: System.StringContains a prefix in the prefix mapping list.
Return Value
Type: System.String
String
Remarks
If no namespace is assigned to the requested prefix, the method returns an empty string ("").
See Also
Reference
CustomXMLPrefixMappings Interface