Partager via


CrefOperatorReferenceSyntax.WithKeyword(SyntaxToken) Method

Definition

Caution

This member is obsolete. Use OperatorKeyword or a more specific property (e.g. WithOperatorKeyword) instead.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::CrefOperatorReferenceSyntax ^ WithKeyword(Microsoft::CodeAnalysis::SyntaxToken keyword);
[System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
[System.Obsolete("This member is obsolete. Use OperatorKeyword or a more specific property (e.g. WithOperatorKeyword) instead.", true)]
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefOperatorReferenceSyntax WithKeyword (Microsoft.CodeAnalysis.SyntaxToken keyword);
[<System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)>]
[<System.Obsolete("This member is obsolete. Use OperatorKeyword or a more specific property (e.g. WithOperatorKeyword) instead.", true)>]
member this.WithKeyword : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefOperatorReferenceSyntax
Public Function WithKeyword (keyword As SyntaxToken) As CrefOperatorReferenceSyntax

Parameters

keyword
SyntaxToken

Returns

Attributes

Applies to