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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
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.Transaction
The 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.