GraphPathSerializationDictionary.Remove Method

Definition

Overloads

Remove(KeyValuePair<String,String>)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.

Remove(String)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.

Remove(KeyValuePair<String,String>)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.

C++
public:
 virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::String ^> item);

Parameters

item
KeyValuePair<String,String>

The object to remove from the System.Collections.Generic.ICollection.

Returns

True if item was successfully removed from the System.Collections.Generic.ICollection; otherwise, false. This method also returns false if item is not found in the original System.Collections.Generic.ICollection.

Implements

Applies to

Visual Studio SDK 2022 and other versions
Product Versions
Visual Studio SDK 2017, 2019, 2022

Remove(String)

Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.

C++
public:
 virtual bool Remove(System::String ^ key);

Parameters

key
String

The item name to remove from the System.Collections.Generic.ICollection.

Returns

True if item was successfully removed from the System.Collections.Generic.ICollection; otherwise, false. This method also returns false if item is not found in the original System.Collections.Generic.ICollection.

Implements

Applies to

Visual Studio SDK 2022 and other versions
Product Versions
Visual Studio SDK 2017, 2019, 2022