Delen via


ChildSyntaxList.First Method

Definition

Returns the first child in the list.

public:
 Microsoft::CodeAnalysis::SyntaxNodeOrToken First();
public Microsoft.CodeAnalysis.SyntaxNodeOrToken First ();
member this.First : unit -> Microsoft.CodeAnalysis.SyntaxNodeOrToken
Public Function First () As SyntaxNodeOrToken

Returns

The first child in the list.

Exceptions

The list is empty.

Applies to