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






name
The string to match against the Name 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 name As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim instance As XmlFastInfosetReader
Dim name As String
Dim value As Boolean
 
value = instance.IsStartElement(name)
C# 
public override bool IsStartElement( 
   string name
)
Delphi 
public function IsStartElement( 
    name: String
): Boolean; override; 
JScript 
public override function IsStartElement( 
   name : String
) : boolean;
Managed Extensions for C++ 
public: bool IsStartElement( 
   string* name
) override 
C++/CLI 
public:
bool IsStartElement( 
   String^ name
) override 

Parameters

name
The string to match against the Name 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