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 methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetNamespaceNode Locates a namespace within a host type collection.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates 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 methodToStringReturns 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