Partilhar via


XmlMemberAccessExpressionSyntax.WithToken2(SyntaxToken) Method

Definition

Returns a copy of this with the Token2 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::XmlMemberAccessExpressionSyntax ^ WithToken2(Microsoft::CodeAnalysis::SyntaxToken token2);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlMemberAccessExpressionSyntax WithToken2 (Microsoft.CodeAnalysis.SyntaxToken token2);
member this.WithToken2 : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlMemberAccessExpressionSyntax
Public Function WithToken2 (token2 As SyntaxToken) As XmlMemberAccessExpressionSyntax

Parameters

token2
SyntaxToken

Returns

Applies to