Share via


NullableTypeSyntax.WithElementType(TypeSyntax) Method

Definition

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

Parameters

elementType
TypeSyntax

Returns

Applies to