InteractionExtensions.CreateCombinedFragment Method (IInteraction, InteractionOperatorKind, IInteractionUse)
Create a Combined Fragment containing one operand. You can add more operands later.
Namespace: Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly: Microsoft.VisualStudio.ArchitectureTools.Extensibility (in Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function CreateCombinedFragment ( _
parent As IInteraction, _
operatorKind As InteractionOperatorKind, _
interactionUse As IInteractionUse _
) As ICombinedFragment
public static ICombinedFragment CreateCombinedFragment(
this IInteraction parent,
InteractionOperatorKind operatorKind,
IInteractionUse interactionUse
)
[ExtensionAttribute]
public:
static ICombinedFragment^ CreateCombinedFragment(
IInteraction^ parent,
InteractionOperatorKind operatorKind,
IInteractionUse^ interactionUse
)
static member CreateCombinedFragment :
parent:IInteraction *
operatorKind:InteractionOperatorKind *
interactionUse:IInteractionUse -> ICombinedFragment
public static function CreateCombinedFragment(
parent : IInteraction,
operatorKind : InteractionOperatorKind,
interactionUse : IInteractionUse
) : ICombinedFragment
Parameters
- parent
Type: Microsoft.VisualStudio.Uml.Interactions.IInteraction
- operatorKind
Type: Microsoft.VisualStudio.Uml.Interactions.InteractionOperatorKind
The operator defines how the combination of fragments is interpreted - alternatives, parallel, and so on.
- interactionUse
Type: Microsoft.VisualStudio.Uml.Interactions.IInteractionUse
An existing interaction use that should be covered by the initial operand of the combined fragment.
Return Value
Type: Microsoft.VisualStudio.Uml.Interactions.ICombinedFragment
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.
See Also
Reference
CreateCombinedFragment Overload
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace