FieldAttribute 类

定义

此属性存在于属性上,以指示它们反映基础非托管全局变量。

[System.AttributeUsage(System.AttributeTargets.Property | System.AttributeTargets.Field)]
public sealed class FieldAttribute : Attribute
type FieldAttribute = class
    inherit Attribute
继承
FieldAttribute
属性

注解

当此属性存在于属性上时,它指示该属性实际上反映了基础非托管全局变量。

构造函数

FieldAttribute(String)

使用要绑定的特定符号创建新的 FieldAttribute 实例。

FieldAttribute(String, String)

使用要绑定的特定符号创建新的 FieldAttribute 实例。

属性

LibraryName

从中查找全局符号的库名称。

SymbolName

此字段表示的全局符号。

适用于