_ConstructorInfo.IsPublic _ConstructorInfo.IsPublic _ConstructorInfo.IsPublic _ConstructorInfo.IsPublic Property

定义

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

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

属性值

如果此方法是公共的,则为 true;否则为 falsetrue if this method is public; otherwise, false.

注解

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

IsPublic属性获取一个值,该值指示这是否公共方法。The IsPublic property gets a value indicating whether this is a public method.

适用于