Partager via


EnterpriseManagementObjectBaseWithProperties.Item Property

[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

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

value = instance(type, name)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    type As ManagementPackType, _
    name As String _
) As EnterpriseManagementSimpleObject
public EnterpriseManagementSimpleObject this [
    ManagementPackType type,
    string name
] { get; }
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.

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

EnterpriseManagementObjectBaseWithProperties Class
EnterpriseManagementObjectBaseWithProperties Members
Microsoft.EnterpriseManagement.Common Namespace