Share via


ManagementPackReferenceCollection.Remove Method

Definition

Removes the specified item from the collection.

Overloads

Remove(KeyValuePair<String,ManagementPackReference>)

Removes the specified item from the collection.

Remove(String)

Removes the specified item from the collection.

Remove(KeyValuePair<String,ManagementPackReference>)

Removes the specified item from the collection.

public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, Microsoft::EnterpriseManagement::Configuration::ManagementPackReference ^> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,Microsoft.EnterpriseManagement.Configuration.ManagementPackReference> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.EnterpriseManagement.Configuration.ManagementPackReference> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, Microsoft.EnterpriseManagement.Configuration.ManagementPackReference> -> bool
Public Function Remove (item As KeyValuePair(Of String, ManagementPackReference)) As Boolean

Parameters

item
KeyValuePair<String,ManagementPackReference>

The item to remove from the collection.

Returns

true if the item was removed from the collection; otherwise, false.

Implements

Applies to

Remove(String)

Removes the specified item from the collection.

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

Parameters

alias
String

The alias of the item to remove.

Returns

true if the item was removed from the collection; otherwise, false.

Implements

Applies to