FastInfoset.NET Class Reference for Mono
IsStartElement(String) Method






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
'Declaration
 
Public Overloads Overrides NotOverridable Function IsStartElement( _
   ByVal name As System.String _
) As System.Boolean
'Usage
 
Dim instance As XmlFastInfosetReader
Dim name As System.String
Dim value As System.Boolean
 
value = instance.IsStartElement(name)
public override System.bool IsStartElement( 
   System.string name
)
public function IsStartElement( 
    name: System.String
): System.Boolean; override; 
public override function IsStartElement( 
   name : System.String
) : System.boolean;
public: System.bool IsStartElement( 
   System.string* name
) override 
public:
System.bool IsStartElement( 
   System.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.
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

XmlFastInfosetReader Class
XmlFastInfosetReader Members
Overload List
Base Implementation in IsStartElement(String)

Send Feedback