_MethodBase.Attributes Tulajdonság

Definíció

A COM-objektumok verziófüggetlen hozzáférést biztosítanak a Attributes tulajdonsághoz.

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

Tulajdonság értéke

Az egyik MethodAttributes érték.

Megjegyzések

Ez a tulajdonság nem felügyelt kódból származó felügyelt osztályokhoz való hozzáférésre szolgál, és nem hívható meg felügyelt kódból.

A Attributes tulajdonság lekéri a metódushoz társított attribútumokat.

A következőre érvényes: