| C# | Visual Basic | Visual Basic Usage |
public abstract class StronglyTypedStateManagedCollection<ItemType> : StateManagedCollection where ItemType : IMarkableStateManager
Public MustInherit Class StronglyTypedStateManagedCollection(Of ItemType As IMarkableStateManager) _ Inherits StateManagedCollection
Dim instance As StronglyTypedStateManagedCollection(Of ItemType)
- ItemType
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| StronglyTypedStateManagedCollection<(Of <(<'ItemType>)>)>()()()() | Initializes a new instance of the StronglyTypedStateManagedCollection<(Of <(<'ItemType>)>)> class | |
| Add(ItemType) | ||
| AddRange(IEnumerable<(Of <<'(ItemType>)>>)) | ||
| Clear()()()() |
Removes all items from the StateManagedCollection collection.
(Inherited from StateManagedCollection.) | |
| Contains(ItemType) | ||
| CopyTo(array<ItemType>[]()[][], Int32) | ||
| CopyTo(Array, Int32) |
Copies the elements of the StateManagedCollection collection to an array, starting at a particular array index.
(Inherited from StateManagedCollection.) | |
| Count |
Gets the number of elements contained in the StateManagedCollection collection.
(Inherited from StateManagedCollection.) | |
| CreateKnownType(Int32) |
When overridden in a derived class, creates an instance of a class that implements IStateManager. The type of object created is based on the specified member of the collection returned by the GetKnownTypes()()()() method.
(Inherited from StateManagedCollection.) | |
| Equals(Object) | (Inherited from Object.) | |
| Finalize()()()() |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
| GetEnumerator()()()() |
Returns an iterator that iterates through the StateManagedCollection collection.
(Inherited from StateManagedCollection.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetKnownTypes()()()() |
When overridden in a derived class, gets an array of IStateManager types that the StateManagedCollection collection can contain.
(Inherited from StateManagedCollection.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| IndexOf(ItemType) | ||
| Insert(Int32, ItemType) | ||
| Item[([( Int32])]) | ||
| List | ||
| MemberwiseClone()()()() |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
| OnClear()()()() |
When overridden in a derived class, performs additional work before the Clear()()()() method removes all items from the collection.
(Inherited from StateManagedCollection.) | |
| OnClearComplete()()()() |
When overridden in a derived class, performs additional work after the Clear()()()() method finishes removing all items from the collection.
(Inherited from StateManagedCollection.) | |
| OnInsert(Int32, Object) |
When overridden in a derived class, performs additional work before the Insert(Int32, Object) or Add(Object) method adds an item to the collection.
(Inherited from StateManagedCollection.) | |
| OnInsertComplete(Int32, Object) |
When overridden in a derived class, performs additional work after the Insert(Int32, Object) or Add(Object) method adds an item to the collection.
(Inherited from StateManagedCollection.) | |
| OnRemove(Int32, Object) |
When overridden in a derived class, performs additional work before the Remove(Object) or RemoveAt(Int32) method removes the specified item from the collection.
(Inherited from StateManagedCollection.) | |
| OnRemoveComplete(Int32, Object) |
When overridden in a derived class, performs additional work after the Remove(Object) or RemoveAt(Int32) method removes the specified item from the collection.
(Inherited from StateManagedCollection.) | |
| OnValidate(Object) |
When overridden in a derived class, validates an element of the StateManagedCollection collection.
(Inherited from StateManagedCollection.) | |
| Remove(ItemType) | ||
| RemoveAt(Int32) | ||
| SetDirty()()()() |
Forces the entire StateManagedCollection collection to be serialized into view state.
(Inherited from StateManagedCollection.) | |
| SetDirtyObject(Object) | (Overrides StateManagedCollection.SetDirtyObject(Object).) | |
| ToJson |
Extension method on object that serializes the value to Json.
Note the type must be marked Serializable or include a DataContract attribute.
(Inherited from JsonExtensionsWeb.) | |
| ToString()()()() | (Inherited from Object.) |