System.Type.IsNestedAssembly Property

Gets a value indicating whether the Type is nested and visible only within its own assembly.

Syntax

public bool IsNestedAssembly { get; }

Value

true if the Type is nested and visible only within its own assembly; otherwise, false.

Remarks

If the current Type represents a type parameter of a generic type, this property always returns false.

System.Reflection.TypeAttributes.VisibilityMask selects the visibility attributes.

Requirements

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