Share via


SyntaxFactory.OperatorBlock Method

Definition

Overloads

OperatorBlock(OperatorStatementSyntax)

Represents an Operator block member declaration: A declaration that has a beginning declaration, a body of executable statements and an end statement.

OperatorBlock(OperatorStatementSyntax, SyntaxList<StatementSyntax>)

Represents an Operator block member declaration: A declaration that has a beginning declaration, a body of executable statements and an end statement.

OperatorBlock(OperatorStatementSyntax, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Represents an Operator block member declaration: A declaration that has a beginning declaration, a body of executable statements and an end statement.

OperatorBlock(OperatorStatementSyntax)

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

Represents an Operator block member declaration: A declaration that has a beginning declaration, a body of executable statements and an end statement.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorBlockSyntax ^ OperatorBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorStatementSyntax ^ operatorStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax OperatorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax operatorStatement);
static member OperatorBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax
Public Shared Function OperatorBlock (operatorStatement As OperatorStatementSyntax) As OperatorBlockSyntax

Parameters

operatorStatement
OperatorStatementSyntax

The "Operator" statement that begins the block.

Returns

Applies to

OperatorBlock(OperatorStatementSyntax, 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

Represents an Operator block member declaration: A declaration that has a beginning declaration, a body of executable statements and an end statement.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorBlockSyntax ^ OperatorBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorStatementSyntax ^ operatorStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax OperatorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax operatorStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements);
static member OperatorBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax
Public Shared Function OperatorBlock (operatorStatement As OperatorStatementSyntax, statements As SyntaxList(Of StatementSyntax)) As OperatorBlockSyntax

Parameters

operatorStatement
OperatorStatementSyntax

The "Operator" statement that begins the block.

statements
SyntaxList<StatementSyntax>

The statements contained in the block statement. This might be an empty list.

Returns

Applies to

OperatorBlock(OperatorStatementSyntax, 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

Represents an Operator block member declaration: A declaration that has a beginning declaration, a body of executable statements and an end statement.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorBlockSyntax ^ OperatorBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::OperatorStatementSyntax ^ operatorStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> statements, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endOperatorStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax OperatorBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax operatorStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> statements, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endOperatorStatement);
static member OperatorBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.OperatorBlockSyntax
Public Shared Function OperatorBlock (operatorStatement As OperatorStatementSyntax, statements As SyntaxList(Of StatementSyntax), endOperatorStatement As EndBlockStatementSyntax) As OperatorBlockSyntax

Parameters

operatorStatement
OperatorStatementSyntax

The "Operator" statement that begins the block.

statements
SyntaxList<StatementSyntax>

The statements contained in the block statement. This might be an empty list.

endOperatorStatement
EndBlockStatementSyntax

The "End Operator" statement that ends the block declaration.

Returns

Applies to