FastInfoset.NET Class Reference for .NET
LookupPrefix Method (XmlFastInfosetWriter)






The namespace URI whose prefix you want to find.

Returns the closest prefix defined in the current namespace scope for the namespace URI.
Syntax
'Declaration
 
Public Overrides NotOverridable Function LookupPrefix( _
   ByVal ns As System.String _
) As System.String
'Usage
 
Dim instance As XmlFastInfosetWriter
Dim ns As System.String
Dim value As System.String
 
value = instance.LookupPrefix(ns)
public override System.string LookupPrefix( 
   System.string ns
)
public function LookupPrefix( 
    ns: System.String
): System.String; override; 
public override function LookupPrefix( 
   ns : System.String
) : System.String;
public: System.string* LookupPrefix( 
   System.string* ns
) override 
public:
System.String^ LookupPrefix( 
   System.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.
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

XmlFastInfosetWriter Class
XmlFastInfosetWriter Members
Base Implementation in LookupPrefix

Send Feedback