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
參數
interactionOperand
類型:Microsoft.VisualStudio.Uml.Interactions.IInteractionOperand新的運算元將緊鄰此運算元之前或之後插入。
createNewAfter
類型:Boolean如果為 true,在現有的運算元後插入新的運算元。 如果為 false,則會在現有的運算元之前插入新的運算元。
傳回值
類型:Microsoft.VisualStudio.Uml.Interactions.IInteractionOperand
新的互動運算元。
使用注意事項
在 Visual Basic 和 C# 中,您可以在任何 ICombinedFragment 類型物件中呼叫這個方法以做為執行個體。使用執行個體方法語法呼叫這個方法時,請省略第一個參數。如需詳細資訊,請參閱擴充方法 (Visual Basic)或擴充方法 (C# 程式設計手冊)。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。
請參閱
參考
Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml 命名空間