Noemax FastInfoset.NET
LookupPrefix Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetWriter Class : LookupPrefix Method






ns

The namespace URI whose prefix you want to find.

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

Syntax

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

Parameters

ns

The namespace URI whose prefix you want to find.

Return Value

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

See Also