ClassItemCollection
This class wraps the collection of items contained in a listbox.
Definition
Namespace:ArtOfTest.WebAii.Silverlight
Assembly:ArtOfTest.WebAii.dll
Syntax:
[DataContract]
public class ItemCollection : AutomationObject<ItemCollection>, IAutomationPeer, IPeerConverter, IList<string>, ICollection<string>, IEnumerable<string>, IEnumerable
Inheritance: objectAutomationObject<ItemCollection>ItemCollection
Implements:
Inherited Members
Constructors
ItemCollection()
Creates a new empty ItemCollection object.
Declaration
public ItemCollection()
Properties
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.
SyncRoot
Not supported.
Methods
Add(string)
Not supported.
Contains(string)
Checks whether or not the specified item is contained in the collection.
CopyTo(string[], int)
Not supported.
FromRealObject(object)
Wraps the items contained in a real item collection and stores them in this object.
Declaration
public override void FromRealObject(object o)
Parameters
o
Overrides
GetRealType()
Gets the type of the real object that this class wraps.
Declaration
public override string GetRealType()
Returns
A string represtation for this real type.
Overrides
IndexOf(string)
Gets the index number for the indicated item.
Insert(int, string)
Not supported.
Remove(string)
Not supported.
RemoveAt(int)
Not supported.
ToRealObject()
Not supported