Freigeben über


ArgumentSyntax.WithRefOrOutKeyword(SyntaxToken) Method

Definition

Pre C# 7.2 back-compat overload, which simply calls the replacement method Update(NameColonSyntax, SyntaxToken, ExpressionSyntax).

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::ArgumentSyntax ^ WithRefOrOutKeyword(Microsoft::CodeAnalysis::SyntaxToken refOrOutKeyword);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
public Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax WithRefOrOutKeyword (Microsoft.CodeAnalysis.SyntaxToken refOrOutKeyword);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
member this.WithRefOrOutKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.ArgumentSyntax
Public Function WithRefOrOutKeyword (refOrOutKeyword As SyntaxToken) As ArgumentSyntax

Parameters

refOrOutKeyword
SyntaxToken

Returns

Attributes

Applies to