共用方式為


MemberAccessExpressionSyntax.WithOperatorToken(SyntaxToken) Method

Definition

Returns a copy of this with the OperatorToken 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::MemberAccessExpressionSyntax ^ WithOperatorToken(Microsoft::CodeAnalysis::SyntaxToken operatorToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax WithOperatorToken (Microsoft.CodeAnalysis.SyntaxToken operatorToken);
member this.WithOperatorToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.MemberAccessExpressionSyntax
Public Function WithOperatorToken (operatorToken As SyntaxToken) As MemberAccessExpressionSyntax

Parameters

operatorToken
SyntaxToken

Returns

Applies to