SyntaxFactory.RemoveHandlerAccessorBlock 方法

定义

重载

RemoveHandlerAccessorBlock(AccessorStatementSyntax)

表示访问器块成员声明:具有起始声明、可执行语句正文和 end 语句的声明。 示例包括属性访问器和自定义事件访问器。

RemoveHandlerAccessorBlock(AccessorStatementSyntax, SyntaxList<StatementSyntax>)

表示访问器块成员声明:具有起始声明、可执行语句正文和 end 语句的声明。 示例包括属性访问器和自定义事件访问器。

RemoveHandlerAccessorBlock(AccessorStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

表示访问器块成员声明:具有起始声明、可执行语句正文和 end 语句的声明。 示例包括属性访问器和自定义事件访问器。

RemoveHandlerAccessorBlock(AccessorStatementSyntax)

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 语句的声明。 示例包括属性访问器和自定义事件访问器。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorBlockSyntax ^ RemoveHandlerAccessorBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorStatementSyntax ^ accessorStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax RemoveHandlerAccessorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorStatementSyntax accessorStatement);
static member RemoveHandlerAccessorBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax
Public Shared Function RemoveHandlerAccessorBlock (accessorStatement As AccessorStatementSyntax) As AccessorBlockSyntax

参数

accessorStatement
AccessorStatementSyntax

开始访问器块的“Get”、“Set”、“AddHandler”、“RemoveHandler”或“RaiseEvent”语句。

返回

适用于

RemoveHandlerAccessorBlock(AccessorStatementSyntax, SyntaxList<StatementSyntax>)

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 语句的声明。 示例包括属性访问器和自定义事件访问器。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorBlockSyntax ^ RemoveHandlerAccessorBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorStatementSyntax ^ accessorStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax RemoveHandlerAccessorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorStatementSyntax accessorStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member RemoveHandlerAccessorBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax
Public Shared Function RemoveHandlerAccessorBlock (accessorStatement As AccessorStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As AccessorBlockSyntax

参数

accessorStatement
AccessorStatementSyntax

开始访问器块的“Get”、“Set”、“AddHandler”、“RemoveHandler”或“RaiseEvent”语句。

statements
SyntaxList<StatementSyntax>

块语句中包含的语句。 这可能是空列表。

返回

适用于

RemoveHandlerAccessorBlock(AccessorStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

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 语句的声明。 示例包括属性访问器和自定义事件访问器。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorBlockSyntax ^ RemoveHandlerAccessorBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorStatementSyntax ^ accessorStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endAccessorStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax RemoveHandlerAccessorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorStatementSyntax accessorStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endAccessorStatement);
static member RemoveHandlerAccessorBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorBlockSyntax
Public Shared Function RemoveHandlerAccessorBlock (accessorStatement As AccessorStatementSyntax, statements As SyntaxList(Of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax

参数

accessorStatement
AccessorStatementSyntax

开始访问器块的“Get”、“Set”、“AddHandler”、“RemoveHandler”或“RaiseEvent”语句。

statements
SyntaxList<StatementSyntax>

块语句中包含的语句。 这可能是空列表。

endAccessorStatement
EndBlockStatementSyntax

结束访问器块的“End Get”、“End Set”、“End AddHandler”、“End RemoveHandler”或“End RaiseEvent”语句。

返回

适用于