Class ReorderRoleProperties
Properties that are used to reorder an IRole.
Namespace: Discord
Assembly: Discord.Net.Core.dll
Syntax
public class ReorderRoleProperties : object
Constructors
| Improve this Doc View SourceReorderRoleProperties(UInt64, Int32)
Initializes a ReorderRoleProperties with the given role ID and position.
Declaration
public ReorderRoleProperties(ulong id, int pos)
Parameters
Type | Name | Description |
---|---|---|
UInt64 | id | The ID of the role to be edited. |
Int32 | pos | The new zero-based position of the role. |
Properties
| Improve this Doc View SourceId
Gets the identifier of the role to be edited.
Declaration
public ulong Id { get; }
Property Value
Type | Description |
---|---|
UInt64 | A |
Position
Gets the new zero-based position of the role.
Declaration
public int Position { get; }
Property Value
Type | Description |
---|---|
Int32 | An |