SwimLaneFixUpContext.GetContext(Transaction, SwimlaneShape, Boolean) 方法

定义

了解是否存在上下文以及其值

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

是否在相对一个泳道之后插入下一个泳道

返回

Boolean

如果存在泳道修补上下文,则为 true,否则为 false

适用于