_MethodBase.IsFamily _MethodBase.IsFamily _MethodBase.IsFamily _MethodBase.IsFamily Property

定义

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

public:
 property bool IsFamily { bool get(); };
public bool IsFamily { get; }
member this.IsFamily : bool
Public ReadOnly Property IsFamily As Boolean

属性值

如果对此类的访问只限于此类本身的成员和它的派生类的成员,则为 true;否则为 falsetrue if access to the class is restricted to members of the class itself and to members of its derived classes; otherwise, false.

注解

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

IsFamily属性获取一个值,该值指示对此方法的访问是否限制为类的成员和其派生类的成员。The IsFamily property gets a value indicating whether access to this method is restricted to members of the class and members of its derived classes.

适用于