Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the collection of PresentationElements that serve as the root elements in the reconstituted ElementGroup.
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 GetRootPresentationElements ( _
transaction As Transaction _
) As IList
public static IList GetRootPresentationElements(
Transaction transaction
)
public:
static IList^ GetRootPresentationElements(
Transaction^ transaction
)
static member GetRootPresentationElements :
transaction:Transaction -> IList
public static function GetRootPresentationElements(
transaction : Transaction
) : IList
Parameters
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
The transaction containing the saved DesignSurfaceMergeContext. This is typically the top-level transaction.
Return Value
Type: System.Collections.IList
.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.