Table of Contents

Struct EmbedField

Namespace
Discord
Assembly
Discord.Net.Core.dll

A field for an Embed.

public struct EmbedField
Inherited Members

Properties

Inline

Gets a value that indicates whether the field should be in-line with each other.

public readonly bool Inline { get; }

Property Value

bool

Name

Gets the name of the field.

public readonly string Name { get; }

Property Value

string

Value

Gets the value of the field.

public readonly string Value { get; }

Property Value

string

Methods

Equals(EmbedField?)

Determines whether the specified EmbedField is equal to the current EmbedField

public bool Equals(EmbedField? embedField)

Parameters

embedField EmbedField?

Returns

bool

Equals(object)

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

public override bool Equals(object obj)

Parameters

obj object

The object to compare with the current object

Returns

bool

Remarks

If the object passes is an EmbedField, Equals(EmbedField?) will be called to compare the 2 instances

GetHashCode()

Returns the hash code for this instance.

public override int GetHashCode()

Returns

int

A 32-bit signed integer that is the hash code for this instance.

ToString()

Gets the name of the field.

public override string ToString()

Returns

string

A string that resolves to Name.

Operators

operator ==(EmbedField?, EmbedField?)

public static bool operator ==(EmbedField? left, EmbedField? right)

Parameters

left EmbedField?
right EmbedField?

Returns

bool

operator !=(EmbedField?, EmbedField?)

public static bool operator !=(EmbedField? left, EmbedField? right)

Parameters

left EmbedField?
right EmbedField?

Returns

bool