共用方式為


SyntaxGenerator.ArrayCreationExpression Method

Definition

Overloads

ArrayCreationExpression(SyntaxNode, IEnumerable<SyntaxNode>)

Creates an array creation expression for a single dimensional array with specified initial element values.

ArrayCreationExpression(SyntaxNode, SyntaxNode)

Creates an array creation expression for a single dimensional array of specified size.

ArrayCreationExpression(SyntaxNode, IEnumerable<SyntaxNode>)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Creates an array creation expression for a single dimensional array with specified initial element values.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ ArrayCreationExpression(Microsoft::CodeAnalysis::SyntaxNode ^ elementType, System::Collections::Generic::IEnumerable<Microsoft::CodeAnalysis::SyntaxNode ^> ^ elements);
public abstract Microsoft.CodeAnalysis.SyntaxNode ArrayCreationExpression (Microsoft.CodeAnalysis.SyntaxNode elementType, System.Collections.Generic.IEnumerable<Microsoft.CodeAnalysis.SyntaxNode> elements);
abstract member ArrayCreationExpression : Microsoft.CodeAnalysis.SyntaxNode * seq<Microsoft.CodeAnalysis.SyntaxNode> -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function ArrayCreationExpression (elementType As SyntaxNode, elements As IEnumerable(Of SyntaxNode)) As SyntaxNode

Parameters

elementType
SyntaxNode

Returns

Applies to

ArrayCreationExpression(SyntaxNode, SyntaxNode)

Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs
Source:
SyntaxGenerator.cs

Creates an array creation expression for a single dimensional array of specified size.

public:
 abstract Microsoft::CodeAnalysis::SyntaxNode ^ ArrayCreationExpression(Microsoft::CodeAnalysis::SyntaxNode ^ elementType, Microsoft::CodeAnalysis::SyntaxNode ^ size);
public abstract Microsoft.CodeAnalysis.SyntaxNode ArrayCreationExpression (Microsoft.CodeAnalysis.SyntaxNode elementType, Microsoft.CodeAnalysis.SyntaxNode size);
abstract member ArrayCreationExpression : Microsoft.CodeAnalysis.SyntaxNode * Microsoft.CodeAnalysis.SyntaxNode -> Microsoft.CodeAnalysis.SyntaxNode
Public MustOverride Function ArrayCreationExpression (elementType As SyntaxNode, size As SyntaxNode) As SyntaxNode

Parameters

elementType
SyntaxNode
size
SyntaxNode

Returns

Applies to