KnownTypeSetAdd Method

Adds the specified Type object to the set. Throws ArgumentException in the following cases:

- type is null.

- type represents a void type.

- type represents an invisible type, i.e. a non-public type or a public nested type which has a non-public outer type.

- type represents a generic type.

- type represents an array type.

- type has been added to the set already.

Namespace: GroupDocs.Assembly
Assembly: GroupDocs.Assembly (in GroupDocs.Assembly.dll) Version: 19.7
Syntax
public void Add(
	Type type
)

Parameters

type
Type: SystemType
A Type object to add.
See Also