The TypeSet type exposes the following members.

Methods

  Name Description
Public method Add(String)
Creates a new TypeSet that includes all types that match the supplied typeName and all types in this TypeSet.
Public method Add(array<String>[]()[][])
Creates a new TypeSet that includes all types that match the supplied typeNames and all types in this TypeSet.
Public method Add(Type)
Creates a new TypeSet with the supplied type added to the types in this TypeSet.
Public method Add(array<Type>[]()[][])
Creates a new TypeSet with the supplied types added to the types in this TypeSet.
Public method Add(String, Boolean)
Creates a new TypeSet that includes all types that match the supplied typeName and all types in this TypeSet. If includeSubClasses is true, all subclasses of the matched types will also be added.
Public method Add(array<String>[]()[][], Boolean)
Creates a new TypeSet that includes all types that match the supplied typeNames and all types in this TypeSet. If includeSubClasses is true, all subclasses of the matched types will also be added.
Public method Add(Type, Boolean)
Creates a new TypeSet with the supplied type added to the types in this TypeSet. If includeSubClasses is true, all subclasses of the matched types will also be added.
Public method Add(array<Type>[]()[][], Boolean)
Creates a new TypeSet with the supplied types added to the types in this TypeSet. If includeSubClasses is true, all subclasses of the matched types will also be added.
Public method Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected method Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
Public method GetHashCode
Serves as a hash function for a particular type. GetHashCode()()()() is suitable for use in hashing algorithms and data structures like a hash table.
(Inherited from Object.)
Public method GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected method MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public method Subtract(String)
Creates a new TypeSet with all types that match the supplied typeName removed from the types in this TypeSet.
Public method Subtract(array<String>[]()[][])
Creates a new TypeSet with all types that match the supplied typeNames removed from the types in this TypeSet.
Public method Subtract(Type)
Creates a new TypeSet with the supplied type removed from the types in this TypeSet.
Public method Subtract(array<Type>[]()[][])
Creates a new TypeSet with the supplied types removed from the types in this TypeSet.
Public method Subtract(String, Boolean)
Creates a new TypeSet with all types that match the supplied typeName removed from the types in this TypeSet. If includeSubClasses is true, all subclasses of the matching types will also be removed.
Public method Subtract(array<String>[]()[][], Boolean)
Creates a new TypeSet with all types that match the supplied typeNames removed from the types in this TypeSet. If includeSubClasses is true, all subclasses of the matching types will also be removed.
Public method Subtract(Type, Boolean)
Creates a new TypeSet with the supplied type removed from the types in this TypeSet. If includeSubClasses is true, all subclasses of the specified type will also be removed.
Public method Subtract(array<Type>[]()[][], Boolean)
Creates a new TypeSet with the supplied types removed from the types in this TypeSet. If includeSubClasses is true, all subclasses of the specified types will also be removed.
Public method ToString
Returns a String that represents the current Object.
(Inherited from Object.)

Fields

  Name Description
Public field Static member All
A TypeSet that contains all managed Types in the current process.
Public field Static member Empty
A TypeSet that does not contain any type.

Properties

  Name Description
Public property Description
Gets a string identifying the types that are part of this TypeSet.
Public property IsSingleType
Gets a value indicating whether this TypeSet contains a single Type.

See Also