共用方式為


ArrayTypeSyntax.WithElementType(TypeSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ArrayTypeSyntax ^ WithElementType(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ elementType);
public Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax WithElementType (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax elementType);
member this.WithElementType : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.ArrayTypeSyntax
Public Function WithElementType (elementType As TypeSyntax) As ArrayTypeSyntax

Parameters

elementType
TypeSyntax

Returns

Applies to