KnownTypeSet Class

Represents an unordered set (that is, a collection of unique items) containing Type objects which fully or partially qualified names can be used within document templates to invoke the corresponding types' static members, perform type casts, etc.
Inheritance Hierarchy

Namespace:  GroupDocs.Assembly
Assembly:  GroupDocs.Assembly (in GroupDocs.Assembly.dll) Version: 22.2
public class KnownTypeSet : IEnumerable

The KnownTypeSet type exposes the following members.

Public propertyCount
Gets the count of items in the set.
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