GraphPathSerializationDictionary.Remove 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.
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.
public:
virtual bool Remove(System::Collections::Generic::KeyValuePair<System::String ^, System::String ^> item);
public bool Remove (System.Collections.Generic.KeyValuePair<string,string> item);
abstract member Remove : System.Collections.Generic.KeyValuePair<string, string> -> bool
override this.Remove : System.Collections.Generic.KeyValuePair<string, string> -> bool
Public Function Remove (item As KeyValuePair(Of String, String)) As Boolean
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
Remove(String)
Removes the first occurrence of a specific object from the System.Collections.Generic.ICollection.
public:
virtual bool Remove(System::String ^ key);
public bool Remove (string key);
abstract member Remove : string -> bool
override this.Remove : string -> bool
Public Function Remove (key As String) As Boolean
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.