Compartir a través de


GetTypeExpressionSyntax.Update 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::GetTypeExpressionSyntax ^ Update(Microsoft::CodeAnalysis::SyntaxToken getTypeKeyword, Microsoft::CodeAnalysis::SyntaxToken openParenToken, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ type, Microsoft::CodeAnalysis::SyntaxToken closeParenToken);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.GetTypeExpressionSyntax Update (Microsoft.CodeAnalysis.SyntaxToken getTypeKeyword, Microsoft.CodeAnalysis.SyntaxToken openParenToken, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax type, Microsoft.CodeAnalysis.SyntaxToken closeParenToken);
member this.Update : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.VisualBasic.Syntax.GetTypeExpressionSyntax
Public Function Update (getTypeKeyword As SyntaxToken, openParenToken As SyntaxToken, type As TypeSyntax, closeParenToken As SyntaxToken) As GetTypeExpressionSyntax

Parameters

getTypeKeyword
SyntaxToken

The value for the GetTypeKeyword property.

openParenToken
SyntaxToken

The value for the OpenParenToken property.

type
TypeSyntax

The value for the Type property.

closeParenToken
SyntaxToken

The value for the CloseParenToken property.

Returns

Applies to