ManagementPackReferenceCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the collection contains a specified value.
Overloads
Contains(KeyValuePair<String,ManagementPackReference>) |
Determines whether the collection contains a specified value. |
Contains(String) |
Determines whether the collection contains a specified value. |
Contains(KeyValuePair<String,ManagementPackReference>)
Determines whether the collection contains a specified value.
public:
virtual bool Contains(System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::EnterpriseManagement::Configuration::ManagementPackReference ^> item);
public bool Contains (System.Collections.Generic.KeyValuePair<string,Microsoft.EnterpriseManagement.Configuration.ManagementPackReference> item);
abstract member Contains : System.Collections.Generic.KeyValuePair<string, Microsoft.EnterpriseManagement.Configuration.ManagementPackReference> -> bool
override this.Contains : System.Collections.Generic.KeyValuePair<string, Microsoft.EnterpriseManagement.Configuration.ManagementPackReference> -> bool
Public Function Contains (item As KeyValuePair(Of String, ManagementPackReference)) As Boolean
Parameters
The item to search for in the collection.
Returns
true
if the specified item is found in the collection; otherwise, false
.
Implements
Applies to
Contains(String)
Determines whether the collection contains a specified value.
public:
bool Contains(System::String ^ alias);
public bool Contains (string alias);
member this.Contains : string -> bool
Public Function Contains (alias As String) As Boolean
Parameters
- alias
- String
The alias of the item to search for in the collection.
Returns
true
if the specified item is found in the collection; otherwise, false
.