Partager via


CombinedFragmentExtensions.CreateInteractionOperand, méthode

Insérez un nouvel opérande d'interaction dans le fragment combiné.

Espace de noms :  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
Assembly :  Microsoft.VisualStudio.ArchitectureTools.Extensibility (dans Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll)

Syntaxe

'Déclaration
<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

Paramètres

  • createNewAfter
    Type : System.Boolean
    Si la valeur est true, le nouvel opérande sera inséré après l'opérande existant.Si la valeur est false, le nouvel opérande sera inséré avant l'opérande existant.

Valeur de retour

Type : Microsoft.VisualStudio.Uml.Interactions.IInteractionOperand
La nouvelle opérande d'interaction.

Remarque sur l'utilisation

En Visual Basic et C#, vous pouvez appeler cette méthode comme une méthode d'instance sur n'importe quel objet de type ICombinedFragment. Lorsque vous utilisez la syntaxe des méthodes d'instance pour appeler cette méthode, omettez le premier paramètre. Pour plus d'informations, consultez Méthodes d'extension (Visual Basic) ou Méthodes d'extension (Guide de programmation C#).

Sécurité .NET Framework

Voir aussi

Référence

CombinedFragmentExtensions Classe

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml, espace de noms