次の方法で共有


AttributeSyntax.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::AttributeSyntax ^ Update(Microsoft::CodeAnalysis::VisualBasic::Syntax::AttributeTargetSyntax ^ target, Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^ name, Microsoft::CodeAnalysis::VisualBasic::Syntax::ArgumentListSyntax ^ argumentList);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax Update (Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax target, Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax name, Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax argumentList);
member this.Update : Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeTargetSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax * Microsoft.CodeAnalysis.VisualBasic.Syntax.ArgumentListSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.AttributeSyntax
Public Function Update (target As AttributeTargetSyntax, name As TypeSyntax, argumentList As ArgumentListSyntax) As AttributeSyntax

Parameters

target
AttributeTargetSyntax

The value for the Target property.

name
TypeSyntax

The value for the Name property.

argumentList
ArgumentListSyntax

The value for the ArgumentList property.

Returns

Applies to