Noemax FastInfoset.NET
IsStartElement(String,String) Method
See Also  Send Feedback
Noemax.FastInfoset Namespace > XmlFastInfosetReader Class > IsStartElement Method : IsStartElement(String,String) Method






localname
The string to match against the LocalName property of the element found.
ns
The string to match against the NamespaceURI property of the element found.
Tests if the current content node is a start element with specified name and namespace.

Syntax

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

Parameters

localname
The string to match against the LocalName property of the element found.
ns
The string to match against the NamespaceURI property of the element found.

Return Value

true if MoveToContent finds a start tag or empty element tag; false if a node type other than XmlNodeType.Element was found.

Remarks

Calls MoveToContent and tests if the current content node is a start tag or empty element tag and if the local name and namespace of the element found matches the given arguments.

See Also