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
Name
Gets the name of the field.
public readonly string Name { get; }
Property Value
Value
Gets the value of the field.
public readonly string Value { get; }
Property Value
Methods
Equals(EmbedField?)
Determines whether the specified EmbedField is equal to the current EmbedField
public bool Equals(EmbedField? embedField)
Parameters
embedField
EmbedField?
Returns
Equals(object)
Determines whether the specified object is equal to the current EmbedField.
public override bool Equals(object obj)
Parameters
obj
objectThe object to compare with the current object
Returns
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
Operators
operator ==(EmbedField?, EmbedField?)
public static bool operator ==(EmbedField? left, EmbedField? right)
Parameters
left
EmbedField?right
EmbedField?
Returns
operator !=(EmbedField?, EmbedField?)
public static bool operator !=(EmbedField? left, EmbedField? right)
Parameters
left
EmbedField?right
EmbedField?