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
- lifeline
Type: Microsoft.VisualStudio.Uml.Interactions.ILifeline
- currentBlock
Type: Microsoft.VisualStudio.Uml.Interactions.IExecutionSpecification
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
- 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.
See Also
Reference
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace