Compartilhar via


ManagementPackElementProxyCollection.GetItem Method (Guid)

Retrieves the specified item from the collection.

Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)

Usage

'Usage
Dim instance As ManagementPackElementProxyCollection(Of T, V)
Dim id As Guid
Dim returnValue As V

returnValue = instance.GetItem(id)

Syntax

'Declaration
Public Overridable Function GetItem ( _
    id As Guid _
) As V
public virtual V GetItem (
    Guid id
)
public:
virtual V GetItem (
    Guid id
)
public V GetItem (
    Guid id
)
public function GetItem (
    id : Guid
) : V

Parameters

  • id
    The ID of the item to retrieve.

Return Value

The specified item from 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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ManagementPackElementProxyCollection Generic Class
ManagementPackElementProxyCollection Members
Microsoft.EnterpriseManagement.Configuration Namespace