_MethodBase.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

属性值

Boolean

如果对此方法的访问只限于此类本身的成员和同一程序集中的派生类的成员,则为 true;否则为 falsetrue if access to this method is restricted to members of the class itself and to members of derived classes that are in the same assembly; otherwise, false.

注解

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

IsFamilyAndAssembly属性获取一个值,该值指示此方法是否可由类本身的成员和派生类(如果它们位于同一程序集中)调用。The IsFamilyAndAssembly property gets a value indicating whether this method can be called by members of the class itself and by derived classes if they are in the same assembly

适用于