Partilhar via


CrefReferenceSyntax.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::CrefReferenceSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ name, Microsoft::CodeAnalysis::VisualBasic::Syntax::CrefSignatureSyntax ^ signature, Microsoft::CodeAnalysis::VisualBasic::Syntax::SimpleAsClauseSyntax ^ asClause);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefReferenceSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax name, Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefSignatureSyntax signature, Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax asClause);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefSignatureSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.SimpleAsClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.CrefReferenceSyntax
Public Function Update (name As TypeSyntax, signature As CrefSignatureSyntax, asClause As SimpleAsClauseSyntax) As CrefReferenceSyntax

Parameters

name
TypeSyntax

The value for the Name property.

signature
CrefSignatureSyntax

The value for the Signature property.

asClause
SimpleAsClauseSyntax

The value for the AsClause property.

Returns

Applies to