共用方式為


ModifiedIdentifierSyntax.WithNullable(SyntaxToken) Method

Definition

Returns a copy of this with the Nullable property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ModifiedIdentifierSyntax ^ WithNullable(Microsoft::CodeAnalysis::SyntaxToken nullable);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax WithNullable (Microsoft.CodeAnalysis.SyntaxToken nullable);
member this.WithNullable : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ModifiedIdentifierSyntax
Public Function WithNullable (nullable As SyntaxToken) As ModifiedIdentifierSyntax

Parameters

nullable
SyntaxToken

Returns

Applies to