Udostępnij za pośrednictwem


SwimLaneFixUpContext.GetContext(Transaction, SwimlaneShape, Boolean) Method

Definition

Find out whether there is a context and what its values are

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

Parameters

transaction
Transaction

Transaction to check for context

relativeSwimlane
SwimlaneShape
insertAfter
Boolean

Whether to insert the next swimlane after the relative one

Returns

true if there is a swimlane fixup context, else false

Applies to