SyntaxFactory.ClassBlock Method

Definition

Overloads

ClassBlock(ClassStatementSyntax)

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

ClassBlock(ClassStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, SyntaxList<StatementSyntax>)

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

ClassBlock(ClassStatementSyntax, SyntaxList<InheritsStatementSyntax>, SyntaxList<ImplementsStatementSyntax>, SyntaxList<StatementSyntax>, EndBlockStatementSyntax)

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

ClassBlock(ClassStatementSyntax)

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 Class its contents and the End statement that ends it.

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ClassBlockSyntax ^ ClassBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ClassStatementSyntax ^ classStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassBlockSyntax ClassBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassStatementSyntax classStatement);
static member ClassBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassStatementSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassBlockSyntax
Public Shared Function ClassBlock (classStatement As ClassStatementSyntax) As ClassBlockSyntax

Parameters

classStatement
ClassStatementSyntax

The "Class" statement that begins the block.

Returns

Applies to

ClassBlock(ClassStatementSyntax, 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

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

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ClassBlockSyntax ^ ClassBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ClassStatementSyntax ^ classStatement, 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.ClassBlockSyntax ClassBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassStatementSyntax classStatement, 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 ClassBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassStatementSyntax * 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.ClassBlockSyntax
Public Shared Function ClassBlock (classStatement As ClassStatementSyntax, inherits As SyntaxList(Of InheritsStatementSyntax), implements As SyntaxList(Of ImplementsStatementSyntax), members As SyntaxList(Of StatementSyntax)) As ClassBlockSyntax

Parameters

classStatement
ClassStatementSyntax

The "Class" 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

ClassBlock(ClassStatementSyntax, 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

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

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::ClassBlockSyntax ^ ClassBlock(Microsoft::CodeAnalysis::VisualBasic::Syntax::ClassStatementSyntax ^ classStatement, 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 ^ endClassStatement);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassBlockSyntax ClassBlock (Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassStatementSyntax classStatement, 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 endClassStatement);
static member ClassBlock : Microsoft.CodeAnalysis.VisualBasic.Syntax.ClassStatementSyntax * 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.ClassBlockSyntax
Public Shared Function ClassBlock (classStatement As ClassStatementSyntax, inherits As SyntaxList(Of InheritsStatementSyntax), implements As SyntaxList(Of ImplementsStatementSyntax), members As SyntaxList(Of StatementSyntax), endClassStatement As EndBlockStatementSyntax) As ClassBlockSyntax

Parameters

classStatement
ClassStatementSyntax

The "Class" 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.

endClassStatement
EndBlockStatementSyntax

The "End Class" statement that ends the block.

Returns

Applies to