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.

ExpandedInheritance Hierarchy

SystemObject
  Aspose.Words.ReportingKnownTypeSet

Namespace:  Aspose.Words.Reporting
Assembly:  Aspose.Words (in Aspose.Words.dll) Version: 21.10.0

ExpandedSyntax

public class KnownTypeSet : IEnumerable<Type>, 
	IEnumerable

The KnownTypeSet type exposes the following members.

ExpandedProperties

  NameDescription
Public propertyCount
Gets the count of items in the set.

ExpandedMethods

  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.)
Public methodGetEnumerator
Returns An IEnumerator object to iterate over items of the set.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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.)

ExpandedSee Also