Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.dll)
Syntax
'宣言
Public Shared Function GetContext ( _
transaction As Transaction, _
<OutAttribute> ByRef relativeSwimlane As SwimlaneShape, _
<OutAttribute> ByRef insertAfter As Boolean _
) As Boolean
'使用
Dim transaction As Transaction
Dim relativeSwimlane As SwimlaneShape
Dim insertAfter As Boolean
Dim returnValue As Boolean
returnValue = SwimLaneFixUpContext.GetContext(transaction, _
relativeSwimlane, insertAfter)
public static bool GetContext(
Transaction transaction,
out SwimlaneShape relativeSwimlane,
out bool insertAfter
)
public:
static bool GetContext(
Transaction^ transaction,
[OutAttribute] SwimlaneShape^% relativeSwimlane,
[OutAttribute] bool% insertAfter
)
public static function GetContext(
transaction : Transaction,
relativeSwimlane : SwimlaneShape,
insertAfter : boolean
) : boolean
Parameters
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
- relativeSwimlane
Type: Microsoft.VisualStudio.Modeling.Diagrams.SwimlaneShape%
- insertAfter
Type: System.Boolean%
Return Value
Type: System.Boolean
Permissions
- 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.