SyntaxFactory.EndWithStatement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
EndWithStatement() |
表示一个“End XXX”语句,其中 XXX 是单个关键字。 |
EndWithStatement(SyntaxToken, SyntaxToken) |
表示一个“End XXX”语句,其中 XXX 是单个关键字。 |
EndWithStatement()
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示一个“End XXX”语句,其中 XXX 是单个关键字。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ EndWithStatement();
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax EndWithStatement ();
static member EndWithStatement : unit -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax
Public Shared Function EndWithStatement () As EndBlockStatementSyntax
返回
适用于
EndWithStatement(SyntaxToken, SyntaxToken)
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
- Source:
- Syntax.xml.Main.Generated.vb
表示一个“End XXX”语句,其中 XXX 是单个关键字。
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ EndWithStatement(Microsoft::CodeAnalysis::SyntaxToken endKeyword, Microsoft::CodeAnalysis::SyntaxToken blockKeyword);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax EndWithStatement (Microsoft.CodeAnalysis.SyntaxToken endKeyword, Microsoft.CodeAnalysis.SyntaxToken blockKeyword);
static member EndWithStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax
Public Shared Function EndWithStatement (endKeyword As SyntaxToken, blockKeyword As SyntaxToken) As EndBlockStatementSyntax
参数
- endKeyword
- SyntaxToken
“End”关键字
- blockKeyword
- SyntaxToken
结束块的关键字。 必须是:“If”、“If”、“Using”、“With”、“Select”、“Structure”、“Enum”、“Interface”、“Class”、“Module”、“Namespace”、“Sub”、“Function”、“Get”、“Set”、“Property”、“Operator”、“Event”、“AddHandler”、“RemoveHandler”、“RaiseEvent”、“While”、“Try”或“SyncLock”。