Share via


ManagementPackClass.ContainsProperty Method

Definition

Determines whether this type contains the specified property.

Overloads

ContainsProperty(Guid, PropertyExtensionMode)

Determines whether this type contains the specified property by using the property identifier and property extension mode.

ContainsProperty(String, PropertyExtensionMode)

Determines whether this type contains the specified property by using the property name and property extension mode.

ContainsProperty(Guid, PropertyExtensionMode)

Determines whether this type contains the specified property by using the property identifier and property extension mode.

public:
 bool ContainsProperty(Guid id, Microsoft::EnterpriseManagement::Configuration::PropertyExtensionMode propertyExtensionMode);
public bool ContainsProperty (Guid id, Microsoft.EnterpriseManagement.Configuration.PropertyExtensionMode propertyExtensionMode);
override this.ContainsProperty : Guid * Microsoft.EnterpriseManagement.Configuration.PropertyExtensionMode -> bool
Public Function ContainsProperty (id As Guid, propertyExtensionMode As PropertyExtensionMode) As Boolean

Parameters

id
Guid

The property ID.

propertyExtensionMode
PropertyExtensionMode

The mode of using extended properties.

Returns

true if this type contains the specified property; otherwise, false.

Applies to

ContainsProperty(String, PropertyExtensionMode)

Determines whether this type contains the specified property by using the property name and property extension mode.

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

Parameters

name
String

The property name.

propertyExtensionMode
PropertyExtensionMode

The mode of using extended properties.

Returns

true if this type contains the specified property; otherwise, false.

Applies to