Partager via


CimReadOnlyKeyedCollection<T>.Item Property (String)

 

Gets an item with a given key string from the collection.

Namespace:   Microsoft.Management.Infrastructure.Generic
Assembly:  Microsoft.Management.Infrastructure (in Microsoft.Management.Infrastructure.dll)

Syntax

public abstract T this[
    string itemName
] { get; }
public:
property T default[
    String^ itemName
] {
    virtual T get(String^ itemName) abstract;
}
abstract Item : 
        itemName:string -> 'T with get
Public MustOverride ReadOnly Property Item (
    itemName As String
) As T

Parameters

Property Value

Type: T

The member of the collection that contains the given key string.

See Also

CimReadOnlyKeyedCollection<T> Class
Microsoft.Management.Infrastructure.Generic Namespace

Return to top