Share via


ManagementPackElementCollection<T>.GetItem(String) Method

Definition

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Gets the specified item from the collection.

public:
 virtual T GetItem(System::String ^ name);
public virtual T GetItem (string name);
override this.GetItem : string -> 'T
Public Overridable Function GetItem (name As String) As T

Parameters

name
String

The name of the item to get from the collection.

Returns

T

The item if found; otherwise, null.

Applies to