Partager via


SyntaxFactory.ClassBlock Méthode

Définition

Surcharges

ClassBlock(ClassStatementSyntax)

Représente une déclaration d’une classe son contenu et l’instruction End qui la termine.

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

Représente une déclaration d’une classe son contenu et l’instruction End qui la termine.

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

Représente une déclaration d’une classe son contenu et l’instruction End qui la termine.

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
Source:
Syntax.xml.Main.Generated.vb

Représente une déclaration d’une classe son contenu et l’instruction End qui la termine.

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

Paramètres

classStatement
ClassStatementSyntax

Instruction « Class » qui commence le bloc.

Retours

S’applique à

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
Source:
Syntax.xml.Main.Generated.vb

Représente une déclaration d’une classe son contenu et l’instruction End qui la termine.

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

Paramètres

classStatement
ClassStatementSyntax

Instruction « Class » qui commence le bloc.

inherits
SyntaxList<InheritsStatementSyntax>

Liste des déclarations Hérite du type.

implements
SyntaxList<ImplementsStatementSyntax>

Liste des déclarations Implémente pour le type.

members
SyntaxList<StatementSyntax>

Déclarations contenues dans le type ou le module.

Retours

S’applique à

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
Source:
Syntax.xml.Main.Generated.vb

Représente une déclaration d’une classe son contenu et l’instruction End qui la termine.

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

Paramètres

classStatement
ClassStatementSyntax

Instruction « Class » qui commence le bloc.

inherits
SyntaxList<InheritsStatementSyntax>

Liste des déclarations Hérite du type.

implements
SyntaxList<ImplementsStatementSyntax>

Liste des déclarations Implémente pour le type.

members
SyntaxList<StatementSyntax>

Déclarations contenues dans le type ou le module.

endClassStatement
EndBlockStatementSyntax

Instruction « End Class » qui termine le bloc.

Retours

S’applique à