This class wraps the collection of items contained in a listbox.
Inheritance Hierarchy
ArtOfTest.WebAii.SilverlightAutomationObjectItemCollection
ArtOfTest.WebAii.SilverlightItemCollection
Namespace: ArtOfTest.WebAii.Silverlight
Assembly: ArtOfTest.WebAii (in ArtOfTest.WebAii.dll) Version: 2018.1.116.0 (2018.1.116.0)
Syntax
public class ItemCollection : AutomationObject<ItemCollection>, IList<string>, ICollection<string>, IEnumerable<string>, IEnumerable
The ItemCollection type exposes the following members.
Constructors
Name | Description | |
---|---|---|
ItemCollection |
Creates a new empty ItemCollection object.
|
Properties
Name | Description | |
---|---|---|
Collection |
Infrastructure use
| |
Count |
Gets the number of items in the collection.
| |
IsFixedSize |
Not supported.
| |
IsReadOnly |
This class is always read only once created. It always returns true.
| |
IsSynchronized |
Not supported.
| |
Item |
Gets the item at the specified index. Setting is not supported.
| |
PropertyBag |
The automation object property bag.
(Inherited from AutomationObjectT.) | |
Reference |
Get or set the object reference.
(Inherited from AutomationObjectT.) | |
SyncRoot |
Not supported.
|
Methods
Name | Description | |
---|---|---|
Add |
Not supported.
| |
AssignReference |
Assign a reference to this AutomationObject.
(Inherited from AutomationObjectT.) | |
Clear |
Not supported.
| |
Contains |
Checks whether or not the specified item is contained in the collection.
| |
CopyTo |
Not supported.
| |
Deserialize |
Deserialize this AutomationObject to a jsonString
TODO: Should this be a static method?
(Inherited from AutomationObjectT.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
FromRealObject |
Wraps the items contained in a real item collection and stores them in this object.
(Overrides AutomationObjectTFromRealObject(Object).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetProperty(AutomationProperty) |
Get a property on this automation object.
(Inherited from AutomationObjectT.) | |
GetProperty(AutomationProperty, Object) |
Gets a property on this automation object, or returns a default value if the property cannot be retrieved
(Inherited from AutomationObjectT.) | |
GetRealType |
Gets the type of the real object that this class wraps.
(Overrides AutomationObjectTGetRealType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf |
Gets the index number for the indicated item.
| |
Insert |
Not supported.
| |
InvokeMethod(String, Object) |
Invokes a method on the AutomationObject's client-side peer
(Inherited from AutomationObjectT.) | |
InvokeMethod(AutomationMethod, Object) |
Invokes a method on the AutomationObject's client-side peer
(Inherited from AutomationObjectT.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove |
Not supported.
| |
RemoveAt |
Not supported.
| |
Serialize |
Serialize this automation object to a Json String
(Inherited from AutomationObjectT.) | |
SetProperty |
Set a property on this automation object.
(Inherited from AutomationObjectT.) | |
ToRealObject |
Not supported
(Overrides AutomationObjectTToRealObject.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
See Also