Click or drag to resize

HostTypeCollection Methods

The HostTypeCollection type exposes the following members.

Methods
  NameDescription
Public methodAdd
Adds a property to the PropertyBag.
(Inherited from PropertyBag.)
Public methodAddAssembly(Assembly)
Adds types from an assembly to a host type collection.
Public methodAddAssembly(String)
Adds types from an assembly to a host type collection. The assembly is specified by name.
Public methodAddAssembly(Assembly, PredicateType)
Adds selected types from an assembly to a host type collection.
Public methodAddAssembly(String, PredicateType)
Adds selected types from an assembly to a host type collection. The assembly is specified by name.
Public methodAddType(Type)
Adds a type to a host type collection.
Public methodAddType(String, Type)
Adds a type to a host type collection. The type is specified by name.
Public methodAddType(String, String, Type)
Adds a type to a host type collection. The type is specified by type name and assembly name.
Public methodClearNoCheck
Removes all properties without checking whether the PropertyBag is read-only.
(Inherited from PropertyBag.)
Public methodContainsKey
Determines whether the PropertyBag contains a property with the specified name.
(Inherited from PropertyBag.)
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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetNamespaceNode
Locates a namespace within a host type collection.
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 a property from the PropertyBag.
(Inherited from PropertyBag.)
Public methodRemovePropertyNoCheck
Removes a property without checking whether the PropertyBag is read-only.
(Inherited from PropertyBag.)
Public methodSetPropertyNoCheck
Sets a property value without checking whether the PropertyBag is read-only.
(Inherited from PropertyBag.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGetValue
Looks up a property value in the PropertyBag.
(Inherited from PropertyBag.)
Top
See Also