Noemax FastInfoset.NET Report an issue | Discuss in forums
XmlFastInfosetWriter.LookupPrefix(string) Method
See Also 
Noemax.FastInfoset Assembly > 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


Namespace: Noemax.FastInfoset
Assembly: Noemax.FastInfoset (in Noemax.FastInfoset.dll)

Syntax

Visual Basic (Declaration) 
Overrides Public 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
)
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.

Version Information

.NET Framework

Supported in: 3.5, 3.0, 2.0

.NET Compact Framework

Supported in: 3.5, 2.0

See Also

Reference

XmlFastInfosetWriter Class
XmlFastInfosetWriter Members
Base Implementation in System.Xml.XmlWriter