KnownTypeSet Class

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

Namespace:  Aspose.Words.Reporting
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 20.3
Syntax
public class KnownTypeSet : IEnumerable<Type>, 
	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 (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.)
Public methodRemove
Removes the specified Type object from the set. Throws ArgumentException if type is null.
Public methodToString (Inherited from Object.)
See Also