Table of Contents

Class ClassDescription

Namespace
RDCore.SDK.Runtime.Libraries
Assembly
RDCore.SDK.dll

A class a library declares.

public sealed record ClassDescription : IEquatable<ClassDescription>
Inheritance
ClassDescription
Implements
Inherited Members

Properties

DefaultInterface

The name of the interface the class's Members are declared by, when it is not the class's own: IReturnBoolean of Microsoft Forms' ReturnBoolean, _Worksheet of Excel's Worksheet. It is a type name of the library too, which a program can declare a variable as (As MSForms.IReturnBoolean), and which an object of the class is; null for a class whose interface is not described.

public string? DefaultInterface { get; init; }

Property Value

string

Description

What the library says the class is.

public string? Description { get; init; }

Property Value

string

Events

The events the class raises, in declaration order.

public ImmutableArray<EventDescription> Events { get; init; }

Property Value

ImmutableArray<EventDescription>

IsApplication

Whether the class is the one the library's host is, which a host makes members of implicitly available (Excel.Application). Its members are never names of a project that references the library: a project says which object it is talking to.

public bool IsApplication { get; init; }

Property Value

bool

IsCreatable

Whether the class can be created: with New, or by its ProgId. A class that is not is only ever obtained from another object.

public bool IsCreatable { get; init; }

Property Value

bool

IsDefaultInterfaceHidden

Whether the library leaves the DefaultInterface out of what it shows.

public bool IsDefaultInterfaceHidden { get; init; }

Property Value

bool

IsHidden

Whether the library leaves it out of what it shows.

public bool IsHidden { get; init; }

Property Value

bool

Members

The members of the class, in declaration order.

public ImmutableArray<MemberDescription> Members { get; init; }

Property Value

ImmutableArray<MemberDescription>

Name

The name of the class.

public string Name { get; init; }

Property Value

string

ProgId

The name an object of the class is created by from a string - CreateObject("Scripting.Dictionary") - when it can be.

public string? ProgId { get; init; }

Property Value

string