SyntaxFactory.ArrayCreationExpression Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ArrayCreationExpression(ArrayTypeSyntax, InitializerExpressionSyntax) |
Creates a new ArrayCreationExpressionSyntax instance. |
ArrayCreationExpression(SyntaxToken, ArrayTypeSyntax, InitializerExpressionSyntax) |
Creates a new ArrayCreationExpressionSyntax instance. |
ArrayCreationExpression(ArrayTypeSyntax) |
Creates a new ArrayCreationExpressionSyntax instance. |
ArrayCreationExpression(ArrayTypeSyntax, InitializerExpressionSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ArrayCreationExpressionSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::ArrayCreationExpressionSyntax ^ ArrayCreationExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ArrayTypeSyntax ^ type, Microsoft::CodeAnalysis::CSharp::Syntax::InitializerExpressionSyntax ^ initializer);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax ArrayCreationExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax initializer);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax ArrayCreationExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax? initializer);
static member ArrayCreationExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax
Public Shared Function ArrayCreationExpression (type As ArrayTypeSyntax, initializer As InitializerExpressionSyntax) As ArrayCreationExpressionSyntax
Parameters
- type
- ArrayTypeSyntax
- initializer
- InitializerExpressionSyntax
Returns
Applies to
ArrayCreationExpression(SyntaxToken, ArrayTypeSyntax, InitializerExpressionSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ArrayCreationExpressionSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::ArrayCreationExpressionSyntax ^ ArrayCreationExpression(Microsoft::CodeAnalysis::SyntaxToken newKeyword, Microsoft::CodeAnalysis::CSharp::Syntax::ArrayTypeSyntax ^ type, Microsoft::CodeAnalysis::CSharp::Syntax::InitializerExpressionSyntax ^ initializer);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax ArrayCreationExpression (Microsoft.CodeAnalysis.SyntaxToken newKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax initializer);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax ArrayCreationExpression (Microsoft.CodeAnalysis.SyntaxToken newKeyword, Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax type, Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax? initializer);
static member ArrayCreationExpression : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax * Microsoft.CodeAnalysis.CSharp.Syntax.InitializerExpressionSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax
Public Shared Function ArrayCreationExpression (newKeyword As SyntaxToken, type As ArrayTypeSyntax, initializer As InitializerExpressionSyntax) As ArrayCreationExpressionSyntax
Parameters
- newKeyword
- SyntaxToken
- type
- ArrayTypeSyntax
- initializer
- InitializerExpressionSyntax
Returns
Applies to
ArrayCreationExpression(ArrayTypeSyntax)
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
- Source:
- Syntax.xml.Main.Generated.cs
Creates a new ArrayCreationExpressionSyntax instance.
public:
static Microsoft::CodeAnalysis::CSharp::Syntax::ArrayCreationExpressionSyntax ^ ArrayCreationExpression(Microsoft::CodeAnalysis::CSharp::Syntax::ArrayTypeSyntax ^ type);
public static Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax ArrayCreationExpression (Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax type);
static member ArrayCreationExpression : Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax
Public Shared Function ArrayCreationExpression (type As ArrayTypeSyntax) As ArrayCreationExpressionSyntax
Parameters
- type
- ArrayTypeSyntax
Returns
Applies to
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET