Share via


ManagementPackReferenceCollection.ContainsKey(String) Method

Definition

Determines whether the collection contains a specified key value.

public:
 virtual bool ContainsKey(System::String ^ alias);
public bool ContainsKey (string alias);
abstract member ContainsKey : string -> bool
override this.ContainsKey : string -> bool
Public Function ContainsKey (alias As String) As Boolean

Parameters

alias
String

The key item to search for in the collection.

Returns

true if the specified key item is found in the collection; otherwise, false.

Implements

Applies to