Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
Transaction 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.