EnterpriseManagementObjectBaseWithProperties.ContainsProperty Method

Definition

Determines if the specified properties exist.

Overloads

ContainsProperty(ManagementPackProperty)

Determines if the specific property exists.

ContainsProperty(Guid)

Determines if the identified property exists.

ContainsProperty(ManagementPackType, String)

Determines if the specifically named property exists in the specified type.

ContainsProperty(ManagementPackProperty)

Determines if the specific property exists.

public:
 bool ContainsProperty(Microsoft::EnterpriseManagement::Configuration::ManagementPackProperty ^ property);
public bool ContainsProperty (Microsoft.EnterpriseManagement.Configuration.ManagementPackProperty property);
member this.ContainsProperty : Microsoft.EnterpriseManagement.Configuration.ManagementPackProperty -> bool
Public Function ContainsProperty (property As ManagementPackProperty) As Boolean

Parameters

property
ManagementPackProperty

The property to search for.

Returns

true if the property exists; otherwise, false.

Applies to

ContainsProperty(Guid)

Determines if the identified property exists.

public:
 bool ContainsProperty(Guid id);
public bool ContainsProperty (Guid id);
member this.ContainsProperty : Guid -> bool
Public Function ContainsProperty (id As Guid) As Boolean

Parameters

id
Guid

The identifier of the property.

Returns

true if the property exists; otherwise, false.

Applies to

ContainsProperty(ManagementPackType, String)

Determines if the specifically named property exists in the specified type.

public:
 bool ContainsProperty(Microsoft::EnterpriseManagement::Configuration::ManagementPackType ^ type, System::String ^ name);
public bool ContainsProperty (Microsoft.EnterpriseManagement.Configuration.ManagementPackType type, string name);
member this.ContainsProperty : Microsoft.EnterpriseManagement.Configuration.ManagementPackType * string -> bool
Public Function ContainsProperty (type As ManagementPackType, name As String) As Boolean

Parameters

type
ManagementPackType

The type to search.

name
String

The name of the property.

Returns

true if the property exists; otherwise, false.

Applies to