_FieldInfo.Attributes 属性

定义

为 COM 对象提供对 Attributes 属性的与版本无关的访问。Provides COM objects with version-independent access to the Attributes property.

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

属性值

此字段的 FieldAttributesThe FieldAttributes for this field.

注解

此属性用于从非托管代码访问托管类,不应从托管代码调用。This property is for access to managed classes from unmanaged code, and should not be called from managed code.

Attributes属性获取与此字段关联的特性。The Attributes property gets the attributes associated with this field.

适用于