@EntryPoint annotation, marks a standard or document module member as an entry point procedure that is not intended to be referenced directly from the code.
New This feature is currently only available in pre-release builds (or the xmldoc asset doesn’t yet exist on
|CallerName||Text||If provided, the first argument is interpreted as referring to an external caller, for example the name of a Shape in the host document.|
Members with this annotation are ignored by the ProcedureNotUsed inspection. The CallerName argument is currently not being validated, but may be in the future. When hosted in Microsoft Excel, the @ExcelHotkey annotation can be used in standard modules instead of @EntryPoint to associate a hotkey shortcut.
Each example is a self-contained MCVE showing the feature in a single specific scenario.
Module1by default, these are general-purpose standard procedural modules.
Class1by default, these modules define the default interface for an object of that type.
VB_PredeclaredIdattribute set to
True(with or without a
@Interfaceannotation) whose default interface is not a class type intended to be instantiated.
The content of this page was generated from xml/comments in the source code compiled into
Edit this page