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
SystemObject
  GroupDocs.AssemblyKnownTypeSet

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

The KnownTypeSet type exposes the following members.

Properties
  NameDescription
Public propertyCount
Gets the count of items in the set.
Methods
  NameDescription
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns An IEnumerator object to iterate over items of the set.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the specified Type object from the set. Throws ArgumentException if type is null.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also