Delen via


LifelineExtensions.FindInsertionPoint Method (ILifeline, IExecutionSpecification)

Returns an insertion point at the beginning (top) of an Execution Specification. Use this to add the first message to or from the Execution Specification.

Namespace:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function FindInsertionPoint ( _
    lifeline As ILifeline, _
    currentBlock As IExecutionSpecification _
) As IInsertionPoint
public static IInsertionPoint FindInsertionPoint(
    this ILifeline lifeline,
    IExecutionSpecification currentBlock
)
[ExtensionAttribute]
public:
static IInsertionPoint^ FindInsertionPoint(
    ILifeline^ lifeline, 
    IExecutionSpecification^ currentBlock
)
static member FindInsertionPoint : 
        lifeline:ILifeline * 
        currentBlock:IExecutionSpecification -> IInsertionPoint
public static function FindInsertionPoint(
    lifeline : ILifeline, 
    currentBlock : IExecutionSpecification
) : IInsertionPoint

Parameters

Return Value

Type: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml.IInsertionPoint

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

See Also

Reference

LifelineExtensions Class

FindInsertionPoint Overload

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace