ManagementPackElementCollection<T>.GetItem(String) Method
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.
[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.