Parameter Collection Class
Definition
Assembly: CapeOpen (in CapeOpen.dll) Version: 1.0.0.0 (1.0.0.0)
[SerializableAttribute]
[GuidAttribute("64A1B36C-106B-4d05-B585-D176CD4DD1DB")]
[ClassInterfaceAttribute(ClassInterfaceType.None)]
[ComVisibleAttribute(true)]
public class ParameterCollection : BindingList<CapeParameter>,
ICapeCollection, ICustomTypeDescriptor, ICloneable, ICapeIdentification<SerializableAttribute>
<GuidAttribute("64A1B36C-106B-4d05-B585-D176CD4DD1DB")>
<ClassInterfaceAttribute(ClassInterfaceType.None)>
<ComVisibleAttribute(true)>
Public Class ParameterCollection
Inherits BindingList(Of CapeParameter)
Implements ICapeCollection, ICustomTypeDescriptor, ICloneable, ICapeIdentification- Inheritance
- Object CollectionCapeParameter BindingListCapeParameter ParameterCollection
Remarks
This collection uses the BindingList generic collection to create a collection that only objects that implement the interface. This class also implements the ICustomTypeDescriptor to provide dynamic infomation about the collection.
Since this class utilizes a generic collection class, .Net based objects can obtain the Parameter objects directly by using the index of the object. The .Net collection is 0-index, that is, the index of the first parameter is 0, and the nth parameter has an index of n-1.
In addition, the collection can be accessed through the ICapeCollection interface. The ICapeCollection members are implemented privately, making them available only available through the interface.
Constructors
| ParameterCollection | Initailizes a new instance of the ParameterCollection collection class. |
Properties
| ComponentDescription | Gets and sets the description of the component. |
| ComponentName | Gets and sets the name of the component. |
Methods
| OnComponentDescriptionChanged | Occurs when the user changes of the description of a component. |
| OnComponentNameChanged | Occurs when the user changes of the description of a component. |
Events
| ComponentDescriptionChanged | Occurs when the user changes of the description of a component. |
| ComponentNameChanged | Occurs when the user changes of the name of a component. |
Fields
Extension Methods
| GetEnumNames | (Defined by General) |
| IsValidDouble | (Defined by General) |
Explicit Interface Implementations
| ICapeCollectionCount | Gets the number of items currently stored in the collection. |
| ICapeCollectionItem | Gets the specific item stored within the collection, identified by its ICapeIdentification.ComponentName or 1-based index passed as an argument to the method. |
| ICloneableClone | Creates a copy of the collection. |
| ICustomTypeDescriptorGetAttributes | Returns a collection of custom attributes for this instance of a component. |
| ICustomTypeDescriptorGetClassName | Returns the class name of this instance of a component. |
| ICustomTypeDescriptorGetComponentName | Returns the name of this instance of a component. |
| ICustomTypeDescriptorGetConverter | Returns a type converter for this instance of a component. |
| ICustomTypeDescriptorGetDefaultEvent | Returns the default event for this instance of a component. |
| ICustomTypeDescriptorGetDefaultProperty | Returns the default property for this instance of a component. |
| ICustomTypeDescriptorGetEditor | Returns an editor of the specified type for this instance of a component. |
| ICustomTypeDescriptorGetEvents | Returns the events for this instance of a component. |
| ICustomTypeDescriptorGetEvents(Attribute) | Returns the events for this instance of a component using the specified attribute array as a filter. |
| ICustomTypeDescriptorGetProperties | Returns the properties for this instance of a component. |
| ICustomTypeDescriptorGetProperties(Attribute) | Returns the properties for this instance of a component using the attribute array as a filter. |
| ICustomTypeDescriptorGetPropertyOwner | Returns an object that contains the property described by the specified property descriptor. |