SwimLaneFixUpContext.GetContext(Transaction, SwimlaneShape, Boolean) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
了解是否存在上下文以及其值
public:
static bool GetContext(Microsoft::VisualStudio::Modeling::Transaction ^ transaction, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Modeling::Diagrams::SwimlaneShape ^ % relativeSwimlane, [Runtime::InteropServices::Out] bool % insertAfter);
public static bool GetContext (Microsoft.VisualStudio.Modeling.Transaction transaction, out Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape relativeSwimlane, out bool insertAfter);
static member GetContext : Microsoft.VisualStudio.Modeling.Transaction * SwimlaneShape * bool -> bool
Public Shared Function GetContext (transaction As Transaction, ByRef relativeSwimlane As SwimlaneShape, ByRef insertAfter As Boolean) As Boolean
参数
- transaction
- Transaction
要检查上下文的事务
- relativeSwimlane
- SwimlaneShape
- insertAfter
- Boolean
是否在相对一个泳道之后插入下一个泳道
返回
如果存在泳道修补上下文,则为 true,否则为 false