Search Results for

    Show / Hide Table of Contents

    Class ReorderRoleProperties

    Properties that are used to reorder an IRole.

    Inheritance
    Object
    ReorderRoleProperties
    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public class ReorderRoleProperties : object

    Constructors

    | Improve this Doc View Source

    ReorderRoleProperties(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 Source

    Id

    Gets the identifier of the role to be edited.

    Declaration
    public ulong Id { get; }
    Property Value
    Type Description
    UInt64

    A representing the snowflake identifier of the role to be modified.

    | Improve this Doc View Source

    Position

    Gets the new zero-based position of the role.

    Declaration
    public int Position { get; }
    Property Value
    Type Description
    Int32

    An representing the new zero-based position of the role.

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.7.2