ICallingContext Interface

Contains information about a context in which a macro is being executed. This context is specific for estimates, sets and articles databases.
Public Interface ICallingContext 
Inherits ICommonCallingContext
This language is not supported or no code example is available.
public interface ICallingContext : ICommonCallingContext
This language is not supported or no code example is available.
Name Description
Public property ActiveEstimateContext Gets the context of the active estimate if any. There may be an active estimate even if the current calling context is for a non-estimate object, such as a database of sets.
Public property CallingContextAnalyticReporting Gets the context information about what invoked the creation of a data source.
Public property CallingContextBOQ Gets the context information about the current BoQ. It specifies the current selection.
Public property CallingContextMinutes Gets the context information about the current minutes. It specifies the current selection.
Public property CallingContextNomenclatures Gets the context information about the current nomenclatures. It specifies the current selection.
Public property CallingContextOverhead Gets the context information about the current overhead. It specifies the current selection.
Public property CallingContextPlanner Gets the context information about the current planner. It specifies the current selection.
Public property CallingContextReportGenerator Gets the context information about the current report generator. It specifies the current selection.
Public property CallingContextSetInfo Gets the context information about the current set in a set database. It specifies the current selection.
Public property CallingContextWBS Gets the context information about the current WBS. It specifies the current selection.
Public property CallingEventName Gets or sets the event name if the macro was called from an event. (inherited from ICommonCallingContext).
Public property CallingTabPage Gets the selected tab page when the macro was called.
Public property CallingUserID Gets the ID of the calling user. (inherited from ICommonCallingContext).
Public property EditModeActive Gets a value indicating whether the edit mode is active. (inherited from ICommonCallingContext).
Public property IsForeignMacro Gets or sets a value indicating whether this is a foreign macro. This means the macro doesn't belong to the current estimate or database but it is stored in a separate .qdvmacro file or it is an extended function. (inherited from ICommonCallingContext).
Public property IsFromEventMacro Gets or sets a value indicating whether this macro was called from an event. (inherited from ICommonCallingContext).
Public property MustCancel Gets or sets a value indicating whether the macro or event was canceled. (inherited from ICommonCallingContext).
Public property QdvManager Gets the QdvManager object for the current execution session. (inherited from ICommonCallingContext).
Public property UserDefinedObject Gets or sets the custom data. (inherited from ICommonCallingContext).
Top
Methods
 
Name Description
Public method Refresh() Refreshes this calling context. This means that all relevant property values are updated.
Top
Version
 
Available since QDV 7.13.0001.

.NET Framework

Supported in: 4.8, 4.7, 4.6, 4.5.2

In this article

Definition