Share via


XmlMemberAccessExpressionSyntax.WithToken1(SyntaxToken) Method

Definition

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

Parameters

token1
SyntaxToken

Returns

Applies to