共用方式為


GlobalNameSyntax.Update(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::GlobalNameSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken globalKeyword);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.GlobalNameSyntax Update (Microsoft.CodeAnalysis.SyntaxToken globalKeyword);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GlobalNameSyntax
Public Function Update (globalKeyword As SyntaxToken) As GlobalNameSyntax

Parameters

globalKeyword
SyntaxToken

The value for the GlobalKeyword property.

Returns

Applies to