CimReadOnlyKeyedCollection<T> Class
Represents a read-only 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>
Syntax
public abstract class CimReadOnlyKeyedCollection<T> : IEnumerable<T>,
IEnumerable
generic<typename T>
public ref class CimReadOnlyKeyedCollection abstract : IEnumerable<T>,
IEnumerable
[<AbstractClass>]
type CimReadOnlyKeyedCollection<'T> =
class
interface IEnumerable<'T>
interface IEnumerable
end
Public MustInherit Class CimReadOnlyKeyedCollection(Of T)
Implements IEnumerable(Of T), IEnumerable
Type Parameters
- T
Type of items in the collection.
Properties
Name | Description | |
---|---|---|
Count | Gets the number of items in the collection. |
|
Item[String] | Gets an item with a given key string from the collection. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetEnumerator() | Retrieves an enumerator that returns items from the collection. |
|
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. |
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