Class ClassDescription
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
Description
What the library says the class is.
public string? Description { get; init; }
Property Value
Events
The events the class raises, in declaration order.
public ImmutableArray<EventDescription> Events { get; init; }
Property Value
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
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
IsDefaultInterfaceHidden
Whether the library leaves the DefaultInterface out of what it shows.
public bool IsDefaultInterfaceHidden { get; init; }
Property Value
IsHidden
Whether the library leaves it out of what it shows.
public bool IsHidden { get; init; }
Property Value
Members
The members of the class, in declaration order.
public ImmutableArray<MemberDescription> Members { get; init; }
Property Value
Name
The name of the class.
public string Name { get; init; }
Property Value
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; }