InteractionExtensions.CreateCombinedFragment Method (IInteraction, InteractionOperatorKind, IEnumerable<IInsertionPoint>)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Create a new ICombinedFragment object covering a specified set of insertion points.
Namespace: Microsoft.VisualStudio.Uml.Extensions
Assembly: Microsoft.VisualStudio.Uml.Extensions (in Microsoft.VisualStudio.Uml.Extensions.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function CreateCombinedFragment ( _
parent As IInteraction, _
operatorKind As InteractionOperatorKind, _
insertionPointsOnLifelines As IEnumerable(Of IInsertionPoint) _
) As ICombinedFragment
'Usage
Dim parent As IInteraction
Dim operatorKind As InteractionOperatorKind
Dim insertionPointsOnLifelines As IEnumerable(Of IInsertionPoint)
Dim returnValue As ICombinedFragment
returnValue = parent.CreateCombinedFragment(operatorKind, _
insertionPointsOnLifelines)
public static ICombinedFragment CreateCombinedFragment(
this IInteraction parent,
InteractionOperatorKind operatorKind,
IEnumerable<IInsertionPoint> insertionPointsOnLifelines
)
[ExtensionAttribute]
public:
static ICombinedFragment^ CreateCombinedFragment(
IInteraction^ parent,
InteractionOperatorKind operatorKind,
IEnumerable<IInsertionPoint^>^ insertionPointsOnLifelines
)
static member CreateCombinedFragment :
parent:IInteraction *
operatorKind:InteractionOperatorKind *
insertionPointsOnLifelines:IEnumerable<IInsertionPoint> -> ICombinedFragment
public static function CreateCombinedFragment(
parent : IInteraction,
operatorKind : InteractionOperatorKind,
insertionPointsOnLifelines : IEnumerable<IInsertionPoint>
) : ICombinedFragment
Parameters
- parent
Type: Microsoft.VisualStudio.Uml.Interactions.IInteraction
parent Interaction
- operatorKind
Type: Microsoft.VisualStudio.Uml.Interactions.InteractionOperatorKind
Operator Kind of the Combined Fragment
- insertionPointsOnLifelines
Type: System.Collections.Generic.IEnumerable<IInsertionPoint>
A collection of Insertion Points that will be covered by the Combined Fragment
Return Value
Type: Microsoft.VisualStudio.Uml.Interactions.ICombinedFragment
Newly created Combined Fragment object
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IInteraction. 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.