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.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.12.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
transaction
Type: Microsoft.VisualStudio.Modeling.TransactionTransaction to check for context
- relativeSwimlane
Type: Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape%
insertAfter
Type: System.Boolean%Whether to insert the next swimlane after the relative one
Return Value
Type: System.Boolean
.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.