Modifier

_Type.IsPublic Property

Definition

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

Property Value

true if the top-level Type is declared public; otherwise, false.

Remarks

This property is for access to managed classes from unmanaged code, and should not be called from managed code.

The Type.IsPublic property gets a value indicating whether the top-level Type is declared public.

Applies to