Share via


SwimLaneFixUpContext.GetContext Method

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

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'Declaration
Public Shared Function GetContext ( _
    transaction As Transaction, _
    <OutAttribute> ByRef relativeSwimlane As SwimlaneShape, _
    <OutAttribute> ByRef insertAfter As Boolean _
) As Boolean
public static bool GetContext(
    Transaction transaction,
    out SwimlaneShape relativeSwimlane,
    out bool insertAfter
)
public:
static bool GetContext(
    Transaction^ transaction, 
    [OutAttribute] SwimlaneShape^% relativeSwimlane, 
    [OutAttribute] bool% insertAfter
)
static member GetContext : 
        transaction:Transaction * 
        relativeSwimlane:SwimlaneShape byref * 
        insertAfter:bool byref -> bool 
public static function GetContext(
    transaction : Transaction, 
    relativeSwimlane : SwimlaneShape, 
    insertAfter : boolean
) : boolean

Parameters

  • insertAfter
    Type: System.Boolean%
    Whether to insert the next swimlane after the relative one

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

SwimLaneFixUpContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace