共用方式為


XmlPrefixSyntax.WithColonToken(SyntaxToken) Method

Definition

Returns a copy of this with the ColonToken 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::XmlPrefixSyntax ^ WithColonToken(Microsoft::CodeAnalysis::SyntaxToken colonToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlPrefixSyntax WithColonToken (Microsoft.CodeAnalysis.SyntaxToken colonToken);
member this.WithColonToken : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlPrefixSyntax
Public Function WithColonToken (colonToken As SyntaxToken) As XmlPrefixSyntax

Parameters

colonToken
SyntaxToken

Returns

Applies to