Struct EventSubscription
One WithEvents variable of an object holding the source of the events it handles.
public readonly record struct EventSubscription : IEquatable<EventSubscription>
- Implements
- Inherited Members
Constructors
EventSubscription(VBRuntimeObjectId, Symbol)
One WithEvents variable of an object holding the source of the events it handles.
public EventSubscription(VBRuntimeObjectId Subscriber, Symbol Variable)
Parameters
SubscriberVBRuntimeObjectIdThe object whose class declares the variable, and the handlers.
VariableSymbolThe
WithEventsvariable, which names the handlers:VariableName_EventName.
Properties
Subscriber
The object whose class declares the variable, and the handlers.
public VBRuntimeObjectId Subscriber { get; init; }
Property Value
Variable
The WithEvents variable, which names the handlers: VariableName_EventName.
public Symbol Variable { get; init; }