CimKeyedCollection<T> Class
Represents a collection of objects. The objects can be enumerated (the order is undefined), or they can be accessed by their name.
Namespace: Microsoft.Management.Infrastructure.Generic
Assembly: Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)
Inheritance Hierarchy
System.Object
Microsoft.Management.Infrastructure.Generic.CimReadOnlyKeyedCollection<T>
Microsoft.Management.Infrastructure.Generic.CimKeyedCollection<T>
Microsoft.Management.Infrastructure.CimMethodParametersCollection
Syntax
public abstract class CimKeyedCollection<T> : CimReadOnlyKeyedCollection<T>
generic<typename T>
public ref class CimKeyedCollection abstract : CimReadOnlyKeyedCollection<T>
[<AbstractClass>]
type CimKeyedCollection<'T> =
class
inherit CimReadOnlyKeyedCollection<'T>
end
Public MustInherit Class CimKeyedCollection(Of T)
Inherits CimReadOnlyKeyedCollection(Of T)
Type Parameters
- T
Type of items in the collection.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of items in the collection.(Inherited from CimReadOnlyKeyedCollection<T>.) |
|
Item[String] | Gets an item with a given key string from the collection.(Inherited from CimReadOnlyKeyedCollection<T>.) |
Methods
Name | Description | |
---|---|---|
Add(T) | Adds an item to the collection. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEnumerator() | Retrieves an enumerator that returns items from the collection.(Inherited from CimReadOnlyKeyedCollection<T>.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
Explicit Interface Implementations
Name | Description | |
---|---|---|
IEnumerable.GetEnumerator() | Retrieves an enumerator that returns items from the collection.(Inherited from CimReadOnlyKeyedCollection<T>.) |
Remarks
The Item property is the default member of the collection.
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Management.Infrastructure.Generic Namespace
Return to top