FastInfoset.NET Class Reference for .NET
LookupNamespace Method (XmlFastInfosetReader)






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
'Declaration
 
Public Overrides NotOverridable Function LookupNamespace( _
   ByVal prefix As System.String _
) As System.String
'Usage
 
Dim instance As XmlFastInfosetReader
Dim prefix As System.String
Dim value As System.String
 
value = instance.LookupNamespace(prefix)
public override System.string LookupNamespace( 
   System.string prefix
)
public function LookupNamespace( 
    prefix: System.String
): System.String; override; 
public override function LookupNamespace( 
   prefix : System.String
) : System.String;
public: System.string* LookupNamespace( 
   System.string* prefix
) override 
public:
System.String^ LookupNamespace( 
   System.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.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

XmlFastInfosetReader Class
XmlFastInfosetReader Members
Base Implementation in LookupNamespace

Send Feedback