Freigeben über


SyntaxFactory.SetAccessorBlock Methode

Definition

Überlädt

SetAccessorBlock(AccessorStatementSyntax)

Represents an accessor block member declaration: A declaration that has a beginning declaration, a body of ausführbare statements and an end statement. Beispiele sind Eigenschaftszugriffe und benutzerdefinierte Ereigniszugriffe.

SetAccessorBlock(AccessorStatementSyntax, SyntaxList<StatementSyntax>)

Represents an accessor block member declaration: A declaration that has a beginning declaration, a body of ausführbare statements and an end statement. Beispiele sind Eigenschaftszugriffe und benutzerdefinierte Ereigniszugriffe.

SetAccessorBlock(AccessorStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Represents an accessor block member declaration: A declaration that has a beginning declaration, a body of ausführbare statements and an end statement. Beispiele sind Eigenschaftszugriffe und benutzerdefinierte Ereigniszugriffe.

SetAccessorBlock(AccessorStatementSyntax)

Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb

Represents an accessor block member declaration: A declaration that has a beginning declaration, a body of ausführbare statements and an end statement. Beispiele sind Eigenschaftszugriffe und benutzerdefinierte Ereigniszugriffe.

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

Parameter

accessorStatement
AccessorStatementSyntax

Die Anweisung "Get", "Set", "AddHandler", "RemoveHandler" oder "RaiseEvent", die den Accessorblock beginnt.

Gibt zurück

Gilt für:

SetAccessorBlock(AccessorStatementSyntax, SyntaxList<StatementSyntax>)

Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb

Represents an accessor block member declaration: A declaration that has a beginning declaration, a body of ausführbare statements and an end statement. Beispiele sind Eigenschaftszugriffe und benutzerdefinierte Ereigniszugriffe.

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

Parameter

accessorStatement
AccessorStatementSyntax

Die Anweisung "Get", "Set", "AddHandler", "RemoveHandler" oder "RaiseEvent", die den Accessorblock beginnt.

statements
SyntaxList<StatementSyntax>

Die In der Block-Anweisung enthaltenen Anweisungen. Dies kann eine leere Liste sein.

Gibt zurück

Gilt für:

SetAccessorBlock(AccessorStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb
Quelle:
Syntax.xml.Main.Generated.vb

Represents an accessor block member declaration: A declaration that has a beginning declaration, a body of ausführbare statements and an end statement. Beispiele sind Eigenschaftszugriffe und benutzerdefinierte Ereigniszugriffe.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::AccessorBlockSyntax ^ SetAccessorBlock(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 SetAccessorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.AccessorStatementSyntax accessorStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endAccessorStatement);
static member SetAccessorBlock : 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 SetAccessorBlock (accessorStatement As AccessorStatementSyntax, statements As SyntaxList(Of StatementSyntax), endAccessorStatement As EndBlockStatementSyntax) As AccessorBlockSyntax

Parameter

accessorStatement
AccessorStatementSyntax

Die Anweisung "Get", "Set", "AddHandler", "RemoveHandler" oder "RaiseEvent", die den Accessorblock beginnt.

statements
SyntaxList<StatementSyntax>

Die In der Block-Anweisung enthaltenen Anweisungen. Dies kann eine leere Liste sein.

endAccessorStatement
EndBlockStatementSyntax

Die Anweisung "End Get", "End Set", "End AddHandler", "End RemoveHandler" oder "End RaiseEvent", die den Accessorblock beendet.

Gibt zurück

Gilt für: