共用方式為


ArrayCreationExpressionSyntax.WithType(ArrayTypeSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ArrayCreationExpressionSyntax ^ WithType(Microsoft::CodeAnalysis::CSharp::Syntax::ArrayTypeSyntax ^ type);
public Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax WithType (Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax type);
member this.WithType : Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ArrayCreationExpressionSyntax
Public Function WithType (type As ArrayTypeSyntax) As ArrayCreationExpressionSyntax

Parameters

Returns

Applies to