共用方式為


UnplacedShapesContext.GetUnplacedShapesMap Method

Gets the unplaced shpapes collection 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 GetUnplacedShapesMap ( _
    transaction As Transaction, _
    targetDiagramId As Guid _
) As IDictionary
public static IDictionary GetUnplacedShapesMap(
    Transaction transaction,
    Guid targetDiagramId
)
public:
static IDictionary^ GetUnplacedShapesMap(
    Transaction^ transaction, 
    Guid targetDiagramId
)
static member GetUnplacedShapesMap : 
        transaction:Transaction * 
        targetDiagramId:Guid -> IDictionary 
public static function GetUnplacedShapesMap(
    transaction : Transaction, 
    targetDiagramId : Guid
) : IDictionary

Parameters

  • targetDiagramId
    Type: System.Guid
    The diagram Id of the unplaced shapes.

Return Value

Type: System.Collections.IDictionary

Remarks

The collection of unplaced shapes returned is the value saved to the specified transaction by an earlier call to the static method SetUnplacedShapesContext.

.NET Framework Security

See Also

Reference

UnplacedShapesContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace