共用方式為


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

Parameters

modifier
SyntaxToken

The value for the Modifier property.

type
TypeSyntax

The value for the Type property.

Returns

Applies to