共用方式為


SyntaxFactory.ArrayCreationExpression 方法

定義

多載

ArrayCreationExpression(ArrayTypeSyntax, InitializerExpressionSyntax)

建立新的 ArrayCreationExpressionSyntax 實例。

ArrayCreationExpression(SyntaxToken, ArrayTypeSyntax, InitializerExpressionSyntax)

建立新的 ArrayCreationExpressionSyntax 實例。

ArrayCreationExpression(ArrayTypeSyntax)

建立新的 ArrayCreationExpressionSyntax 實例。

ArrayCreationExpression(ArrayTypeSyntax, InitializerExpressionSyntax)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 ArrayCreationExpressionSyntax 實例。

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

參數

傳回

適用於

ArrayCreationExpression(SyntaxToken, ArrayTypeSyntax, InitializerExpressionSyntax)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 ArrayCreationExpressionSyntax 實例。

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

參數

newKeyword
SyntaxToken

傳回

適用於

ArrayCreationExpression(ArrayTypeSyntax)

來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs
來源:
Syntax.xml.Main.Generated.cs

建立新的 ArrayCreationExpressionSyntax 實例。

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

參數

傳回

適用於