共用方式為


NullableTypeSyntax.WithElementType(TypeSyntax) 方法

定義

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

參數

elementType
TypeSyntax

傳回

適用於