ActivityExtensions.CreateControlFlow 方法

在 ActivityNode 中创建新的 IControlFlow 链接

命名空间:  Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml
程序集:  Microsoft.VisualStudio.ArchitectureTools.Extensibility(在 Microsoft.VisualStudio.ArchitectureTools.Extensibility.dll 中)

语法

声明
<ExtensionAttribute> _
Public Shared Function CreateControlFlow ( _
    parent As IActivity, _
    sourceActivityNode As IActivityNode, _
    targetActivityNode As IActivityNode _
) As IControlFlow
public static IControlFlow CreateControlFlow(
    this IActivity parent,
    IActivityNode sourceActivityNode,
    IActivityNode targetActivityNode
)
[ExtensionAttribute]
public:
static IControlFlow^ CreateControlFlow(
    IActivity^ parent, 
    IActivityNode^ sourceActivityNode, 
    IActivityNode^ targetActivityNode
)
static member CreateControlFlow : 
        parent:IActivity * 
        sourceActivityNode:IActivityNode * 
        targetActivityNode:IActivityNode -> IControlFlow 
public static function CreateControlFlow(
    parent : IActivity, 
    sourceActivityNode : IActivityNode, 
    targetActivityNode : IActivityNode
) : IControlFlow

参数

返回值

类型:Microsoft.VisualStudio.Uml.Activities.IControlFlow

使用说明

在 Visual Basic 和 C# 中,可以在 IActivity 类型的任何对象上将此方法作为实例方法来调用。当使用实例方法语法调用此方法时,请省略第一个参数。有关更多信息,请参见扩展方法 (Visual Basic)扩展方法(C# 编程指南)

.NET Framework 安全性

请参见

参考

ActivityExtensions 类

Microsoft.VisualStudio.ArchitectureTools.Extensibility.Uml 命名空间