共用方式為


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

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

See Also

Reference

InteractionExtensions Class

CreateCombinedFragment Overload

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml Namespace