SyntaxFactory.ParseExecutableStatement(String, Int32, Boolean) 方法

定义

分析可执行语句。

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

参数

text
String

输入字符串

offset
Int32

字符串中的起始偏移量

consumeFullText
Boolean

返回

适用于