NameColonEqualsSyntax.Update(IdentifierNameSyntax, SyntaxToken) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.