Noemax FastInfoset.NET
LookupNamespace Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetReader Class : LookupNamespace Method






prefix
The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized.

Resolves the namespace prefix in the current element's scope.

Syntax

Visual Basic (Declaration) 
Public Overrides NotOverridable Function LookupNamespace( _
   ByVal prefix As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim prefix As String
Dim value As String
 
value = instance.LookupNamespace(prefix)
C# 
public override string LookupNamespace( 
   string prefix
)
Delphi 
public function LookupNamespace( 
    prefix: String
): String; override; 
JScript 
public override function LookupNamespace( 
   prefix : String
) : String;
Managed Extensions for C++ 
public: string* LookupNamespace( 
   string* prefix
) override 
C++/CLI 
public:
String^ LookupNamespace( 
   String^ prefix
) override 

Parameters

prefix
The prefix whose namespace URI you want to resolve. To match the default namespace, pass an empty string. This string does not have to be atomized.

Return Value

The namespace URI to which the prefix maps or a null reference (Nothing in Visual Basic) if no matching prefix is found.

See Also