SegmentCollection Methods
The SegmentCollection type exposes the following members.
Methods
Name | Description | |
---|---|---|
![]() |
Add(`0) |
Adds an object to the end of the Collection. (Inherited from Collection.) |
![]() |
AddNew |
Adds a new item to the collection. (Inherited from BindingList.) |
![]() |
AddNewCore |
Adds a new item to the end of the collection. (Inherited from BindingList.) |
![]() |
ApplySortCore(System.ComponentModel.PropertyDescriptor,System.ComponentModel.ListSortDirection) |
Sorts the items if overridden in a derived class; otherwise, throws a NotSupportedException. (Inherited from BindingList.) |
![]() |
CancelNew(System.Int32) |
Discards a pending new item. (Inherited from BindingList.) |
![]() |
Clear |
Removes all elements from the Collection. (Inherited from Collection.) |
![]() |
ClearItems |
Removes all elements from the collection. (Inherited from BindingList.) |
![]() |
Contains(`0) |
Determines whether an element is in the Collection. (Inherited from Collection.) |
![]() |
CopyTo(`0[],System.Int32) |
Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection.) |
![]() |
EndNew(System.Int32) |
Commits a pending new item to the collection. (Inherited from BindingList.) |
![]() |
Equals(System.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.) |
![]() |
FindCore(System.ComponentModel.PropertyDescriptor,System.Object) |
Searches for the index of the item that has the specified property descriptor with the specified value, if searching is implemented in a derived class; otherwise, a NotSupportedException. (Inherited from BindingList.) |
![]() |
GetEnumerator |
Returns an enumerator that iterates through the Collection. (Inherited from Collection.) |
![]() |
GetHashCode |
Serves as a hash function for a particular type. (Inherited from Object.) |
![]() |
GetType |
Gets the Type of the current instance. (Inherited from Object.) |
![]() |
IndexOf(`0) |
Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from Collection.) |
![]() |
Insert(System.Int32,`0) |
Inserts an element into the Collection at the specified index. (Inherited from Collection.) |
![]() |
InsertItem(System.Int32,`0) |
Inserts the specified item in the list at the specified index. (Inherited from BindingList.) |
![]() |
MemberwiseClone |
Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
OnAddingNew(System.ComponentModel.AddingNewEventArgs) |
Raises the AddingNew event. (Inherited from BindingList.) |
![]() |
OnListChanged(System.ComponentModel.ListChangedEventArgs) |
Raises the ListChanged event. (Inherited from BindingList.) |
![]() |
Remove(`0) |
Removes the first occurrence of a specific object from the Collection. (Inherited from Collection.) |
![]() |
RemoveAt(System.Int32) |
Removes the element at the specified index of the Collection. (Inherited from Collection.) |
![]() |
RemoveItem(System.Int32) |
Removes the item at the specified index. (Inherited from BindingList.) |
![]() |
RemoveSortCore |
Removes any sort applied with ApplySortCore(System.ComponentModel.PropertyDescriptor,System.ComponentModel.ListSortDirection) if sorting is implemented in a derived class; otherwise, raises NotSupportedException. (Inherited from BindingList.) |
![]() |
ResetBindings |
Raises a ListChanged event of type Reset. (Inherited from BindingList.) |
![]() |
ResetItem(System.Int32) |
Raises a ListChanged event of type ItemChanged for the item at the specified position. (Inherited from BindingList.) |
![]() |
SetItem(System.Int32,`0) |
Replaces the item at the specified index with the specified item. (Inherited from BindingList.) |
![]() |
ToString |
Returns a string that represents the current object. (Inherited from Object.) |