共用方式為


NameColonEqualsSyntax.Update(IdentifierNameSyntax, SyntaxToken) Method

Definition

Returns a copy of this with the specified changes. Returns this instance if there are no actual changes.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::NameColonEqualsSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::IdentifierNameSyntax ^ name, Microsoft::CodeAnalysis::SyntaxToken colonEqualsToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.NameColonEqualsSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax name, Microsoft.CodeAnalysis.SyntaxToken colonEqualsToken);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.IdentifierNameSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.NameColonEqualsSyntax
Public Function Update (name As IdentifierNameSyntax, colonEqualsToken As SyntaxToken) As NameColonEqualsSyntax

Parameters

name
IdentifierNameSyntax

The value for the Name property.

colonEqualsToken
SyntaxToken

The value for the ColonEqualsToken property.

Returns

Applies to