Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Set the context
Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.0.dll)
Syntax
'Declaration
Public Shared Sub SetContext ( _
    transaction As Transaction, _
    relativeSwimlane As SwimlaneShape, _
    insertAfter As Boolean _
)
public static void SetContext(
    Transaction transaction,
    SwimlaneShape relativeSwimlane,
    bool insertAfter
)
public:
static void SetContext(
    Transaction^ transaction, 
    SwimlaneShape^ relativeSwimlane, 
    bool insertAfter
)
static member SetContext : 
        transaction:Transaction * 
        relativeSwimlane:SwimlaneShape * 
        insertAfter:bool -> unit
public static function SetContext(
    transaction : Transaction, 
    relativeSwimlane : SwimlaneShape, 
    insertAfter : boolean
)
Parameters
- transaction 
 Type: Microsoft.VisualStudio.Modeling.Transaction- Transaction to set the context in 
- relativeSwimlane
 Type: Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape
- insertAfter 
 Type: System.Boolean- Whether to insert the next swimlane after the relative one 
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.