IMsBreakpoints.Add

Syntax

Add(Kind: MsBreakpointKind): IMsBreakpoint;

Parameters

Kind. Added breakpoint type.

Description

The Add method adds a point to the collection.

Comments

After execution the method returns the added breakpoint. The point is added to the end of the collection, value of the IMsBreakpoints.Count property is increased by one.

To work with basic breakpoint parameters, use the IMsBreakpoint base interface. To set up calendar breakpoint specific parameters, cast the basic interface to the IMsModelCalendarBreakpoint interface (the Kind parameter value is MsBreakpointKind.ModelCalendar). To work with the breakpoint that is set in the data, cast the basic interface to the IMsDataBreakpoint interface (the Kind parameter value is MsBreakpointKind.Data).

Example

The property use is given in the example for IMsDataBreakpoint.Condition.

See also:

IMsBreakpoints