Table of Contents

Method Equals

Namespace
DSharpPlus.Entities
Assembly
DSharpPlus.dll

Equals(DiscordVoiceRegion?, DiscordVoiceRegion?)

Gets whether two DiscordVoiceRegions are equal.

public static bool Equals(DiscordVoiceRegion? left, DiscordVoiceRegion? right)

Parameters

left DiscordVoiceRegion

The region to compare with.

right DiscordVoiceRegion

The region to compare against.

Returns

bool

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

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