共用方式為


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

Parameters

type
TypeSyntax

The value for the Type property.

Returns

Applies to