New to Telerik UI for WinFormsStart a free 30-day trial

EventId

Class

Represents a unique identifier wrapper for scheduler events and resources that provides type-safe key value handling and comparison functionality.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.Scheduler.dll

Syntax:

C#
public class EventId : IComparable

Inheritance: objectEventId

Implements: IComparable

Constructors

Initializes a new instance of the EventId class with a null key value.

C#
public EventId()

Initializes a new instance of the EventId class with the specified key value.

C#
public EventId(object keyValue)
Parameters:keyValueobject

The object that serves as the unique identifier.

Properties

Gets the underlying key value that uniquely identifies this event or resource.

C#
public object KeyValue { get; }

Methods

Determines whether the specified object is equal to this EventId instance.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with this instance.

Returns:

bool

true if the specified object is equal to this instance; otherwise, false.

Overrides: object.Equals(object)

Returns a hash code for this EventId instance.

C#
public override int GetHashCode()
Returns:

int

A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.

Overrides: object.GetHashCode()

Returns a string that represents this EventId instance.

C#
public override string ToString()
Returns:

string

A string representation of the key value, or the base object string if the key value is null.

Overrides: object.ToString()