KnownTypeSet Methods

The KnownTypeSet type exposes the following members.

Public methodAdd

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.

Public methodClear
Removes all items from the set.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetEnumerator
Returns An IEnumerator object to iterate over items of the set.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodRemove
Removes the specified Type object from the set. Throws ArgumentException if type is null.
Public methodToString (Inherited from Object.)
See Also