_Type.IsNotPublic Property


Provides COM objects with version-independent access to the IsNotPublic property.

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

Property Value

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


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

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

Applies to