共用方式為


AttributeListSyntax.Target Property

Definition

Gets the optional construct targeted by the attribute.

public:
 property Microsoft::CodeAnalysis::CSharp::Syntax::AttributeTargetSpecifierSyntax ^ Target { Microsoft::CodeAnalysis::CSharp::Syntax::AttributeTargetSpecifierSyntax ^ get(); };
public Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax Target { get; }
public Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax? Target { get; }
member this.Target : Microsoft.CodeAnalysis.CSharp.Syntax.AttributeTargetSpecifierSyntax
Public ReadOnly Property Target As AttributeTargetSpecifierSyntax

Property Value

Applies to