_FieldInfo.Attributes 属性

定义

为 COM 对象提供对 Attributes 属性的与版本无关的访问。

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

属性值

FieldAttributes

此字段的 FieldAttributes

注解

此属性用于从非托管代码访问托管类,不应从托管代码调用。

Attributes属性获取与此字段关联的属性。

适用于