Partager via


SyntaxFactory.StructureBlock Method

Definition

Overloads

StructureBlock(StructureStatementSyntax)

Represents a declaration of a Structure, its contents and the End statement that ends it.

StructureBlock(StructureStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, SyntaxList<StatementSyntax>)

Represents a declaration of a Structure, its contents and the End statement that ends it.

StructureBlock(StructureStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

Represents a declaration of a Structure, its contents and the End statement that ends it.

StructureBlock(StructureStatementSyntax)

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

Represents a declaration of a Structure, its contents and the End statement that ends it.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureBlockSyntax ^ StructureBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureStatementSyntax ^ structureStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax StructureBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureStatementSyntax structureStatement);
static member StructureBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax
Public Shared Function StructureBlock (structureStatement As StructureStatementSyntax) As StructureBlockSyntax

Parameters

structureStatement
StructureStatementSyntax

The "Structure" statement that begins the block.

Returns

Applies to

StructureBlock(StructureStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, 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

Represents a declaration of a Structure, its contents and the End statement that ends it.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureBlockSyntax ^ StructureBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureStatementSyntax ^ structureStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::InheritsStatementSyntax ^> inherits, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImplementsStatementSyntax ^> implements, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax StructureBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureStatementSyntax structureStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax> inherits, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> implements, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members);
static member StructureBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax
Public Shared Function StructureBlock (structureStatement As StructureStatementSyntax, inherits As SyntaxList(Of InheritsStatementSyntax), implements As SyntaxList(Of ImplementsStatementSyntax), members As SyntaxList(Of StatementSyntax)) As StructureBlockSyntax

Parameters

structureStatement
StructureStatementSyntax

The "Structure" statement that begins the block.

inherits
SyntaxList<InheritsStatementSyntax>

A list of the Inherits declarations for the type.

implements
SyntaxList<ImplementsStatementSyntax>

A list of the Implements declarations for the type.

members
SyntaxList<StatementSyntax>

The declarations contained in the type or module.

Returns

Applies to

StructureBlock(StructureStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, 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

Represents a declaration of a Structure, its contents and the End statement that ends it.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureBlockSyntax ^ StructureBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::StructureStatementSyntax ^ structureStatement, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::InheritsStatementSyntax ^> inherits, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImplementsStatementSyntax ^> implements, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::StatementSyntax ^> members, Microsoft::CodeAnalysis::VisualBasic::Syntax::EndBlockStatementSyntax ^ endStructureStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax StructureBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureStatementSyntax structureStatement, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax> inherits, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> implements, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> members, Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax endStructureStatement);
static member StructureBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureStatementSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.StatementSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.EndBlockStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.StructureBlockSyntax
Public Shared Function StructureBlock (structureStatement As StructureStatementSyntax, inherits As SyntaxList(Of InheritsStatementSyntax), implements As SyntaxList(Of ImplementsStatementSyntax), members As SyntaxList(Of StatementSyntax), endStructureStatement As EndBlockStatementSyntax) As StructureBlockSyntax

Parameters

structureStatement
StructureStatementSyntax

The "Structure" statement that begins the block.

inherits
SyntaxList<InheritsStatementSyntax>

A list of the Inherits declarations for the type.

implements
SyntaxList<ImplementsStatementSyntax>

A list of the Implements declarations for the type.

members
SyntaxList<StatementSyntax>

The declarations contained in the type or module.

endStructureStatement
EndBlockStatementSyntax

The "End Structure" statement that ends the block.

Returns

Applies to