SyntaxFactory.ArrayCreationExpression Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
ArrayCreationExpression(TypeSyntax, CollectionInitializerSyntax) |
Représente une expression qui crée un tableau. |
ArrayCreationExpression(SyntaxList<AttributeListSyntax>, TypeSyntax, ArgumentListSyntax, CollectionInitializerSyntax) |
Représente une expression qui crée un tableau. |
ArrayCreationExpression(SyntaxToken, SyntaxList<AttributeListSyntax>, TypeSyntax, ArgumentListSyntax, SyntaxList<ArrayRankSpecifierSyntax>, CollectionInitializerSyntax) |
Représente une expression qui crée un tableau. |
ArrayCreationExpression(TypeSyntax, CollectionInitializerSyntax)
- 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 expression qui crée un tableau.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ArrayCreationExpressionSyntax ^ ArrayCreationExpression(Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax ArrayCreationExpression (Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax initializer);
static member ArrayCreationExpression : Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax
Public Shared Function ArrayCreationExpression (type As TypeSyntax, initializer As CollectionInitializerSyntax) As ArrayCreationExpressionSyntax
Paramètres
- type
- TypeSyntax
Type d’élément du tableau en cours de création.
- initializer
- CollectionInitializerSyntax
Initialiseur incluant les accolades.
Retours
S’applique à
ArrayCreationExpression(SyntaxList<AttributeListSyntax>, TypeSyntax, ArgumentListSyntax, CollectionInitializerSyntax)
- 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 expression qui crée un tableau.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ArrayCreationExpressionSyntax ^ ArrayCreationExpression(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ arrayBounds, Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax ArrayCreationExpression (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax arrayBounds, Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax initializer);
static member ArrayCreationExpression : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax
Public Shared Function ArrayCreationExpression (attributeLists As SyntaxList(Of AttributeListSyntax), type As TypeSyntax, arrayBounds As ArgumentListSyntax, initializer As CollectionInitializerSyntax) As ArrayCreationExpressionSyntax
Paramètres
- attributeLists
- SyntaxList<AttributeListSyntax>
Liste de toutes les listes d’attributs sur le type. Si aucun attribut n’a été spécifié, une liste vide est retournée.
- type
- TypeSyntax
Type d’élément du tableau en cours de création.
- arrayBounds
- ArgumentListSyntax
Limites de tableau facultatives, telles que « (4) » ou « (0 à 5, 0 à 6) ».
- initializer
- CollectionInitializerSyntax
Initialiseur incluant les accolades.
Retours
S’applique à
ArrayCreationExpression(SyntaxToken, SyntaxList<AttributeListSyntax>, TypeSyntax, ArgumentListSyntax, SyntaxList<ArrayRankSpecifierSyntax>, CollectionInitializerSyntax)
- 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 expression qui crée un tableau.
public:
static Microsoft::CodeAnalysis::VisualBasic::Syntax::ArrayCreationExpressionSyntax ^ ArrayCreationExpression(Microsoft::CodeAnalysis::SyntaxToken newKeyword, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeListSyntax ^> attributeLists, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ arrayBounds, Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ArrayRankSpecifierSyntax ^> rankSpecifiers, Microsoft::CodeAnalysis::VisualBasic::Syntax::CollectionInitializerSyntax ^ initializer);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax ArrayCreationExpression (Microsoft.CodeAnalysis.SyntaxToken newKeyword, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> attributeLists, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax arrayBounds, Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayRankSpecifierSyntax> rankSpecifiers, Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax initializer);
static member ArrayCreationExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeListSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax * Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayRankSpecifierSyntax> * Microsoft.CodeAnalysis.VisualBasic.Syntax.CollectionInitializerSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ArrayCreationExpressionSyntax
Public Shared Function ArrayCreationExpression (newKeyword As SyntaxToken, attributeLists As SyntaxList(Of AttributeListSyntax), type As TypeSyntax, arrayBounds As ArgumentListSyntax, rankSpecifiers As SyntaxList(Of ArrayRankSpecifierSyntax), initializer As CollectionInitializerSyntax) As ArrayCreationExpressionSyntax
Paramètres
- newKeyword
- SyntaxToken
Mot clé « Nouveau ».
- attributeLists
- SyntaxList<AttributeListSyntax>
Liste de toutes les listes d’attributs sur le type. Si aucun attribut n’a été spécifié, une liste vide est retournée.
- type
- TypeSyntax
Type d’élément du tableau en cours de création.
- arrayBounds
- ArgumentListSyntax
Limites de tableau facultatives, telles que « (4) » ou « (0 à 5, 0 à 6) ».
- rankSpecifiers
- SyntaxList<ArrayRankSpecifierSyntax>
Liste des modificateurs de tableau tels que « () » ou « (,) ». Si aucun modificateur de tableau n’était présent, une liste vide est retournée.
- initializer
- CollectionInitializerSyntax
Initialiseur incluant les accolades.