Table of Contents

Class ModalComponentInfo

Namespace
Discord.Interactions
Assembly
Discord.Net.Interactions.dll

Represents the base info class for IModal components.

public abstract class ModalComponentInfo
Inheritance
ModalComponentInfo
Derived
Inherited Members

Properties

Attributes

Gets a collection of the attributes of this command.

public IReadOnlyCollection<Attribute> Attributes { get; }

Property Value

IReadOnlyCollection<Attribute>

ComponentType

Gets the type of this component.

public ComponentType ComponentType { get; }

Property Value

ComponentType

DefaultValue

Gets the default value of this component property.

public object DefaultValue { get; }

Property Value

object

Modal

Gets the parent modal of this component.

public ModalInfo Modal { get; }

Property Value

ModalInfo

PropertyInfo

Gets the property linked to this component.

public PropertyInfo PropertyInfo { get; }

Property Value

PropertyInfo

Type

Gets the reference type of this component.

public Type Type { get; }

Property Value

Type