次の方法で共有


EnterpriseManagementObjectBaseWithProperties.ContainsProperty Method (ManagementPackProperty)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Determines if the specific property exists.

Namespace: Microsoft.EnterpriseManagement.Common
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim instance As EnterpriseManagementObjectBaseWithProperties
Dim property As ManagementPackProperty
Dim returnValue As Boolean

returnValue = instance.ContainsProperty(property)

Syntax

'Declaration
Public Function ContainsProperty ( _
    property As ManagementPackProperty _
) As Boolean
public bool ContainsProperty (
    ManagementPackProperty property
)
public:
bool ContainsProperty (
    ManagementPackProperty^ property
)
public boolean ContainsProperty (
    ManagementPackProperty property
)
public function ContainsProperty (
    property : ManagementPackProperty
) : boolean

Parameters

  • property
    The property to search for.

Return Value

true if the property exists; otherwise, false.

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