Table of Contents

Remove Method

Definition

Namespace
Savvyio
Assemblies
Savvyio.Core.dll
Source
src/Savvyio.Core/MetadataDictionary.cs

Remove(KeyValuePair<string, object>)

Removes the first occurrence of a specific object from the MetadataDictionary.

public bool Remove(KeyValuePair<string, object> item)

Parameters

item KeyValuePair<string, object>

The object to remove from the MetadataDictionary.

Returns

bool

true if item was successfully removed from the MetadataDictionary; otherwise, false. This method also returns false if item is not found in the original MetadataDictionary.

Remove(string)

Removes the element with the specified key from the MetadataDictionary.

public bool Remove(string key)

Parameters

key string

The key of the element to remove.

Returns

bool

true if the element is successfully removed; otherwise, false. This method also returns false if key was not found in the original MetadataDictionary.