Share via


SyntaxFactory.ParseExecutableStatement(String, Int32, Boolean) Method

Definition

Parse an executable statement.

public static Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax ParseExecutableStatement (string text, int offset = 0, bool consumeFullText = true);
static member ParseExecutableStatement : string * int * bool -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax
Public Shared Function ParseExecutableStatement (text As String, Optional offset As Integer = 0, Optional consumeFullText As Boolean = true) As StatementSyntax

Parameters

text
String

The input string

offset
Int32

The starting offset in the string

consumeFullText
Boolean

Returns

Applies to