EnterpriseManagementObjectBaseWithProperties.Item Property (ManagementPackType, String)

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

Gets a property value by type and name.

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

Dim instance As EnterpriseManagementObjectBaseWithProperties
Dim type As ManagementPackType
Dim name As String
Dim value As EnterpriseManagementSimpleObject

value = instance(type, name)

public:
property EnterpriseManagementSimpleObject^ default [ManagementPackType^, String^] {
	EnterpriseManagementSimpleObject^ get (ManagementPackType^ type, String^ name);
}
/** @property */
public EnterpriseManagementSimpleObject get_Item (ManagementPackType type, String name)

Parameters

type

The type of property.

name

The name of the property.

Property Value

The property value. The return value is null (Nothing in Visual Basic) if the property does not exist.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003
Show: