次の方法で共有


CombinedFragmentExtensions.CreateInteractionOperand メソッド

新しい相互作用オペランドを結合フラグメントに挿入します。

名前空間:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
アセンブリ:  Microsoft.VisualStudio.ArchitectureTools.Extensibility (Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll 内)

構文

'宣言
<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

パラメーター

  • createNewAfter
    型: System.Boolean
    true の場合は、新しいオペランドが既存のオペランドの後ろに挿入されます。false の場合、新しいオペランドが、既存のオペランドの前に挿入されます。

戻り値

型: Microsoft.VisualStudio.Uml.Interactions.IInteractionOperand
新しい相互作用オペランド。

使用上の注意

Visual Basic および Visual C# では、このメソッドを、ICombinedFragment 型のオブジェクトのインスタンス メソッドとして呼び出すことができます。 インスタンス メソッド構文を使用してこのメソッドを呼び出す場合は、最初のパラメーターを省略します。 詳細については、「拡張メソッド (Visual Basic)」または「拡張メソッド (C# プログラミング ガイド)」を参照してください。

.NET Framework セキュリティ

  • 直前の呼び出し元に対する完全な信頼。 このメンバーは、部分的に信頼されているコードから使用することはできません。 詳細については、「部分信頼コードからのライブラリの使用」を参照してください。

参照

参照

CombinedFragmentExtensions クラス

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml 名前空間