IMsBreakpoints.Add

Syntax

Add(Kind: MsBreakpointKind): IMsBreakpoint;

Parameters

Kind. Added breakpoint type.

Description

The Add method adds a point to 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 the breakpoint basic parameters use the IMsBreakpoint basic interface. To set up the calendar breakpoint specific parameters, cast the basic interface to the IMsModelCalendarBreakpoint interface (the Kind parameter value is MsBreakpointKind.ModelCalendar). To work with the breakpoint, 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