ItemCollection Class

Progress Software Corporation - Testing Framework 2018.1 Automation Infrastructure
This class wraps the collection of items contained in a listbox.
Inheritance Hierarchy

SystemObject
  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

  NameDescription
Public methodItemCollection
Creates a new empty ItemCollection object.
Top
Properties

  NameDescription
Public propertyCollection
Infrastructure use
Public propertyCount
Gets the number of items in the collection.
Public propertyIsFixedSize
Not supported.
Public propertyIsReadOnly
This class is always read only once created. It always returns true.
Public propertyIsSynchronized
Not supported.
Public propertyItem
Gets the item at the specified index. Setting is not supported.
Public propertyPropertyBag
The automation object property bag.
(Inherited from AutomationObjectT.)
Public propertyReference
Get or set the object reference.
(Inherited from AutomationObjectT.)
Public propertySyncRoot
Not supported.
Top
Methods

  NameDescription
Public methodAdd
Not supported.
Public methodAssignReference
Assign a reference to this AutomationObject.
(Inherited from AutomationObjectT.)
Public methodClear
Not supported.
Public methodContains
Checks whether or not the specified item is contained in the collection.
Public methodCopyTo
Not supported.
Public methodDeserialize
Deserialize this AutomationObject to a jsonString TODO: Should this be a static method?
(Inherited from AutomationObjectT.)
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 methodFromRealObject
Wraps the items contained in a real item collection and stores them in this object.
(Overrides AutomationObjectTFromRealObject(Object).)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetProperty(AutomationProperty)
Get a property on this automation object.
(Inherited from AutomationObjectT.)
Public methodGetProperty(AutomationProperty, Object)
Gets a property on this automation object, or returns a default value if the property cannot be retrieved
(Inherited from AutomationObjectT.)
Public methodGetRealType
Gets the type of the real object that this class wraps.
(Overrides AutomationObjectTGetRealType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Gets the index number for the indicated item.
Public methodInsert
Not supported.
Public methodInvokeMethod(String, Object)
Invokes a method on the AutomationObject's client-side peer
(Inherited from AutomationObjectT.)
Public methodInvokeMethod(AutomationMethod, Object)
Invokes a method on the AutomationObject's client-side peer
(Inherited from AutomationObjectT.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Not supported.
Public methodRemoveAt
Not supported.
Public methodSerialize
Serialize this automation object to a Json String
(Inherited from AutomationObjectT.)
Public methodSetProperty
Set a property on this automation object.
(Inherited from AutomationObjectT.)
Public methodToRealObject
Not supported
(Overrides AutomationObjectTToRealObject.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also

Reference