LifelineExtensions.FindInsertionPoint Method (ILifeline, IInteractionOperand)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Returns an insertion point at the beginning (top) of an Interaction Operand. Use this to add the first message inside the Interaction Operand.
Namespace: Microsoft.VisualStudio.Uml.Extensions
Assembly: Microsoft.VisualStudio.Uml.Extensions (in Microsoft.VisualStudio.Uml.Extensions.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function FindInsertionPoint ( _
lifeline As ILifeline, _
currentInteractionOperand As IInteractionOperand _
) As IInsertionPoint
'Usage
Dim lifeline As ILifeline
Dim currentInteractionOperand As IInteractionOperand
Dim returnValue As IInsertionPoint
returnValue = lifeline.FindInsertionPoint(currentInteractionOperand)
public static IInsertionPoint FindInsertionPoint(
this ILifeline lifeline,
IInteractionOperand currentInteractionOperand
)
[ExtensionAttribute]
public:
static IInsertionPoint^ FindInsertionPoint(
ILifeline^ lifeline,
IInteractionOperand^ currentInteractionOperand
)
static member FindInsertionPoint :
lifeline:ILifeline *
currentInteractionOperand:IInteractionOperand -> IInsertionPoint
public static function FindInsertionPoint(
lifeline : ILifeline,
currentInteractionOperand : IInteractionOperand
) : IInsertionPoint
Parameters
- lifeline
Type: Microsoft.VisualStudio.Uml.Interactions.ILifeline
Lifeline of the insertion point
- currentInteractionOperand
Type: Microsoft.VisualStudio.Uml.Interactions.IInteractionOperand
Interaction Operand of the insert point.
Return Value
Type: Microsoft.VisualStudio.Uml.Extensions.IInsertionPoint
InsertPoint at the beginning of the IInteractionOperand object
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type ILifeline. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.