Partager via


AttributeListSyntax.WithTarget(AttributeTargetSpecifierSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::AttributeListSyntax ^ WithTarget(Microsoft::CodeAnalysis::CSharp::Syntax::AttributeTargetSpecifierSyntax ^ target);
public Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax WithTarget (Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax target);
public Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax WithTarget (Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax? target);
member this.WithTarget : Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.AttributeListSyntax
Public Function WithTarget (target As AttributeTargetSpecifierSyntax) As AttributeListSyntax

Parameters

Returns

Applies to