Mono Class Library: System.Type Overview | Members

System.Type.IsPublic Property

Gets a bool value indicating whether the top-level Type is declared public.

public bool IsPublic { get; }

Value

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

Remarks

This property is read-only.

If the current instance represents an unassigned type parameter of a generic type, this property returns true.

Requirements

Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0