Share via


ManagementPackConsoleTaskParameterProxyCollection.Contains Method

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

Determines whether this collection contains a specific value.

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

Usage

'Usage
Dim instance As ManagementPackConsoleTaskParameterProxyCollection
Dim item As String
Dim returnValue As Boolean

returnValue = instance.Contains(item)

Syntax

'Declaration
Public Function Contains ( _
    item As String _
) As Boolean
public bool Contains (
    string item
)
public:
virtual bool Contains (
    String^ item
) sealed
public final boolean Contains (
    String item
)
public final function Contains (
    item : String
) : boolean

Parameters

  • item
    An item to locate in the collection.

Return Value

Returns Boolean.

true if the item is found; 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

ManagementPackConsoleTaskParameterProxyCollection Class
ManagementPackConsoleTaskParameterProxyCollection Members
Microsoft.EnterpriseManagement.Configuration Namespace