Table of Contents

Enum DocClassType

Namespace
RDCore.SDK.Workspace
Assembly
RDCore.SDK.Protocol.dll

What a host's document is, whose code a document module is (MS-VBAL §4.2.1): the class the host has for it, whose members and events the module's object has.

[JsonConverter(typeof(DocClassTypeJsonConverter))]
public enum DocClassType

Fields

AccessForm = 3

An Access form (Access.Form).

AccessReport = 4

An Access report (Access.Report).

ExcelWorkbook = 1

An Excel workbook (Excel.Workbook): ThisWorkbook.

ExcelWorksheet = 2

An Excel worksheet (Excel.Worksheet): Sheet1.

Unknown = 0

A document of a host RD-VBA does not know.

WordDocument = 5

A Word document (Word.Document): ThisDocument.

Remarks

A project file says it by name ("ExcelWorksheet"), and a number (2) is read the same. A name or a number this does not have is Unknown: the project still loads, and the module is one RD-VBA does not support.