_Type.Attributes Egenskap

Definition

Tillhandahåller COM-objekt med versionsoberoende åtkomst till Attributes egenskapen.

public:
 property System::Reflection::TypeAttributes Attributes { System::Reflection::TypeAttributes get(); };
public System.Reflection.TypeAttributes Attributes { get; }
member this.Attributes : System.Reflection.TypeAttributes
Public ReadOnly Property Attributes As TypeAttributes

Egenskapsvärde

Ett TypeAttributes objekt som representerar attributuppsättningen för Type, såvida inte Type representerar en allmän typparameter, i vilket fall värdet är ospecificerat.

Kommentarer

Den här egenskapen är avsedd för åtkomst till hanterade klasser från ohanterad kod och ska inte anropas från hanterad kod.

Egenskapen Type.Attributes hämtar attributen som är associerade med Type.

Gäller för