_FieldInfo.IsFamilyAndAssembly 属性
定义
为 COM 对象提供对 IsFamilyAndAssembly 属性的与版本无关的访问。Provides COM objects with version-independent access to the IsFamilyAndAssembly property.
public:
property bool IsFamilyAndAssembly { bool get(); };
public bool IsFamilyAndAssembly { get; }
member this.IsFamilyAndAssembly : bool
Public ReadOnly Property IsFamilyAndAssembly As Boolean
属性值
如果字段设置了 true 属性,则为 FamANDAssem;否则为 false。true if the field has the FamANDAssem attribute set; otherwise, false.
注解
此属性用于从非托管代码访问托管类,不应从托管代码调用。This property is for access to managed classes from unmanaged code, and should not be called from managed code.
IsFamilyAndAssembly属性获取一个值,该值指示此字段是否具有 FamilyAndAssembly 级别可见性。The IsFamilyAndAssembly property gets a value indicating whether this field has FamilyAndAssembly level visibility.