Table of Contents

Class Mentionable.Role

Namespace
NetCord
Assembly
NetCord.dll
public sealed class Mentionable.Role : Mentionable, IEntity, ISpanFormattable, IFormattable, IEquatable<Entity>
Inheritance
Mentionable.Role
Implements
Inherited Members

Constructors

Role(Role)

public Role(Role value)

Parameters

value Role

Properties

Id

The unique identifier for this object.

public override ulong Id { get; }

Property Value

ulong

Value

public Role Value { get; }

Property Value

Role

Methods

ToString()

public override string ToString()

Returns

string

TryFormat(Span<char>, out int, ReadOnlySpan<char>, IFormatProvider?)

public override bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = default, IFormatProvider? provider = null)

Parameters

destination Span<char>
charsWritten int
format ReadOnlySpan<char>
provider IFormatProvider

Returns

bool