This repository was archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 438
77207f3a 8283 8354 3742 3b976fcbedb4
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Represent a collection of items that fire events when it is modified.
Namespace: netDxf.Collections
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public class ObservableCollection<T> : IList<T>,
ICollection<T>, IEnumerable<T>, IEnumerableVB
Public Class ObservableCollection(Of T)
Implements IList(Of T), ICollection(Of T),
IEnumerable(Of T), IEnumerableC++
generic<typename T>
public ref class ObservableCollection : IList<T>,
ICollection<T>, IEnumerable<T>, IEnumerableF#
type ObservableCollection<'T> =
class
interface IList<'T>
interface ICollection<'T>
interface IEnumerable<'T>
interface IEnumerable
end| Inheritance | Object → ObservableCollection(T) |
| Implements | ICollection(T), IEnumerable(T), IList(T), IEnumerable |
- Type of items.
| ObservableCollection(T)() | Initializes a new instance of ObservableCollection. |
| ObservableCollection(T)(Int32) | Initializes a new instance of ObservableCollection and has the specified initial capacity. |
| Count | Gets the number of object contained in the collection. |
| IsReadOnly | Gets a value indicating whether the collection is read-only. |
| Item | Gets or sets the object at the specified index. |
| Add | Adds an object to the collection. |
| AddRange | Adds an object list to the end of the collection. |
| Clear | Removes all object from the collection. |
| Contains | Determines whether an object is in the collection. |
| CopyTo | Copies the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. |
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| GetEnumerator | Returns an enumerator that iterates through the collection. |
| GetHashCode | Serves as the default hash function. (Inherited from Object) |
| GetType | Gets the Type of the current instance. (Inherited from Object) |
| IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire collection. |
| Insert | Inserts an object into the collection at the specified index. |
| Remove(IEnumerable(T)) | Removes the first occurrence of a specific object from the collection |
| Remove(T) | Removes the first occurrence of a specific object from the collection |
| RemoveAt | Removes the object at the specified index of the collection. |
| Reverse | Reverses the order of the elements in the entire list. |
| Sort() | Sorts the elements in the entire System.Collections.Generic.List<T> using the default comparer. |
| Sort(Comparison(T)) | Sorts the elements in the entire System.Collections.Generic.List<T> using the specified System.Comparison<T>. |
| Sort(IComparer(T)) | Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer. |
| Sort(Int32, Int32, IComparer(T)) | Sorts the elements in a range of elements in System.Collections.Generic.List<T> using the specified comparer. |
| ToString | Returns a string that represents the current object. (Inherited from Object) |
| AddItem | |
| BeforeAddItem | |
| BeforeRemoveItem | |
| RemoveItem |