InitialSessionStateEntryCollection<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
generic <typename T>
where T : InitialSessionStateEntrypublic ref class InitialSessionStateEntryCollection sealed : System::Collections::Generic::IEnumerable<T>
public sealed class InitialSessionStateEntryCollection<T> : System.Collections.Generic.IEnumerable<T> where T : InitialSessionStateEntry
type InitialSessionStateEntryCollection<'T (requires 'T :> InitialSessionStateEntry)> = class
interface seq<'T (requires 'T :> InitialSessionStateEntry)>
interface IEnumerable
Public NotInheritable Class InitialSessionStateEntryCollection(Of T)
Implements IEnumerable(Of T)
Type Parameters
- T
- Inheritance
-
InitialSessionStateEntryCollection<T>
- Implements
Constructors
InitialSessionStateEntryCollection<T>() |
Create an empty collection... |
InitialSessionStateEntryCollection<T>(IEnumerable<T>) |
Create an new collection, copying in the passed items... |
Properties
Count |
Returns a count of the number of items in the collection... |
Item[Int32] | |
Item[String] |
To find the entries based on name. Why collection - Different SnapIn/modules and same entity names. If used on command collection entry, then for the same name, one can have multiple output. |
Methods
Add(IEnumerable<T>) |
Add items to this collection. |
Add(T) |
Add an item to this collection. |
Clear() |
Clears the collection... |
Clone() |
Clone this collection. |
Remove(String, Object) |
This overload exists so that we can remove items based on the item name, rather than its position in the collection. The type argument can be null but we'll throw an error if we can't distinguish between multiple entries of the same name but different types and the type hasn't been specified. BUGBUG - brucepay - the throw thing is not implemented yet... |
RemoveItem(Int32, Int32) |
Remove a number of items starting at the specified index. |
RemoveItem(Int32) | |
Reset() |
Reset the collection. |
Explicit Interface Implementations
IEnumerable.GetEnumerator() |
Get enumerator for this collection. |
IEnumerable<T>.GetEnumerator() |
Get enumerator for this collection. |