[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)

Usage

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

value = instance(type, name)

Syntax

Visual Basic
Public ReadOnly Default Property Item ( _
		type As ManagementPackType, _
		name As String _
) As EnterpriseManagementSimpleObject
C#
public EnterpriseManagementSimpleObject this [
		ManagementPackType type,
		string name
] { get; }
C++
public:
property EnterpriseManagementSimpleObject^ default [ManagementPackType^, String^] {
		EnterpriseManagementSimpleObject^ get (ManagementPackType^ type, String^ name);
}
J#
/** @property */
public EnterpriseManagementSimpleObject get_Item (ManagementPackType type, String name)
JScript

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.

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003

See Also