UnplacedShapesContext.HasUnplacedShapesContext Method
Gets a value indicating whether any unplaced shapes context is available from the specified transaction.
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 HasUnplacedShapesContext ( _
transaction As Transaction _
) As Boolean
public static bool HasUnplacedShapesContext(
Transaction transaction
)
public:
static bool HasUnplacedShapesContext(
Transaction^ transaction
)
static member HasUnplacedShapesContext :
transaction:Transaction -> bool
public static function HasUnplacedShapesContext(
transaction : Transaction
) : boolean
Parameters
transaction
Type: Microsoft.VisualStudio.Modeling.TransactionThe transaction to check for the drop target context.
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.