Share via


EnterpriseManagementObjectBaseWithProperties.Item[] Property

Definition

Gets a property value.

Overloads

Item[ManagementPackType, String]

Gets a property value by type and name.

Item[ManagementPackProperty]

Gets a property value.

Item[Guid]

Gets a property value by identifier.

Item[ManagementPackType, String]

Gets a property value by type and name.

public:
 property Microsoft::EnterpriseManagement::Common::EnterpriseManagementSimpleObject ^ default[Microsoft::EnterpriseManagement::Configuration::ManagementPackType ^, System::String ^] { Microsoft::EnterpriseManagement::Common::EnterpriseManagementSimpleObject ^ get(Microsoft::EnterpriseManagement::Configuration::ManagementPackType ^ type, System::String ^ name); };
public Microsoft.EnterpriseManagement.Common.EnterpriseManagementSimpleObject this[Microsoft.EnterpriseManagement.Configuration.ManagementPackType type, string name] { get; }
member this.Item(Microsoft.EnterpriseManagement.Configuration.ManagementPackType * string) : Microsoft.EnterpriseManagement.Common.EnterpriseManagementSimpleObject
Default Public ReadOnly Property Item(type As ManagementPackType, name As String) As EnterpriseManagementSimpleObject

Parameters

type
ManagementPackType

The type of property.

name
String

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.

Applies to

Item[ManagementPackProperty]

Gets a property value.

public:
 property Microsoft::EnterpriseManagement::Common::EnterpriseManagementSimpleObject ^ default[Microsoft::EnterpriseManagement::Configuration::ManagementPackProperty ^] { Microsoft::EnterpriseManagement::Common::EnterpriseManagementSimpleObject ^ get(Microsoft::EnterpriseManagement::Configuration::ManagementPackProperty ^ property); };
public Microsoft.EnterpriseManagement.Common.EnterpriseManagementSimpleObject this[Microsoft.EnterpriseManagement.Configuration.ManagementPackProperty property] { get; }
member this.Item(Microsoft.EnterpriseManagement.Configuration.ManagementPackProperty) : Microsoft.EnterpriseManagement.Common.EnterpriseManagementSimpleObject
Default Public ReadOnly Property Item(property As ManagementPackProperty) As EnterpriseManagementSimpleObject

Parameters

property
ManagementPackProperty

The property to get.

Property Value

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

Applies to

Item[Guid]

Gets a property value by identifier.

public:
 property Microsoft::EnterpriseManagement::Common::EnterpriseManagementSimpleObject ^ default[Guid] { Microsoft::EnterpriseManagement::Common::EnterpriseManagementSimpleObject ^ get(Guid propertyTypeId); };
public Microsoft.EnterpriseManagement.Common.EnterpriseManagementSimpleObject this[Guid propertyTypeId] { get; }
member this.Item(Guid) : Microsoft.EnterpriseManagement.Common.EnterpriseManagementSimpleObject
Default Public ReadOnly Property Item(propertyTypeId As Guid) As EnterpriseManagementSimpleObject

Parameters

propertyTypeId
Guid

The identifier of the property.

Property Value

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

Applies to