Table of Contents

Remove Method

Definition

Namespace
Savvyio.EventDriven.Messaging.CloudEvents
Assemblies
Savvyio.EventDriven.Messaging.dll
Source
src/Savvyio.EventDriven.Messaging/CloudEvents/CloudEvent.cs

Remove(string)

Removes the element with the specified key from the CloudEvent.

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 CloudEvent.