CombinedFragmentExtensions.CreateInteractionOperand Method

Insert a new Interaction Operand in the Combined Fragment.

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

Syntax

'Declaration
<ExtensionAttribute> _
Public Shared Function CreateInteractionOperand ( _
    parent As ICombinedFragment, _
    interactionOperand As IInteractionOperand, _
    createNewAfter As Boolean _
) As IInteractionOperand
public static IInteractionOperand CreateInteractionOperand(
    this ICombinedFragment parent,
    IInteractionOperand interactionOperand,
    bool createNewAfter
)
[ExtensionAttribute]
public:
static IInteractionOperand^ CreateInteractionOperand(
    ICombinedFragment^ parent, 
    IInteractionOperand^ interactionOperand, 
    bool createNewAfter
)
static member CreateInteractionOperand : 
        parent:ICombinedFragment * 
        interactionOperand:IInteractionOperand * 
        createNewAfter:bool -> IInteractionOperand
public static function CreateInteractionOperand(
    parent : ICombinedFragment, 
    interactionOperand : IInteractionOperand, 
    createNewAfter : boolean
) : IInteractionOperand

Parameters

  • createNewAfter
    Type: System.Boolean

    If true, the new operand will be inserted after the existing operand. If false, the new operand will be inserted before the existing operand.

Return Value

Type: Microsoft.VisualStudio.Uml.Interactions.IInteractionOperand
The new interaction operand.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ICombinedFragment. 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

CombinedFragmentExtensions Class

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace