Compartir a través de


DesignSurfaceMergeContext.GetRootPresentationElements(Transaction) Method

Definition

Returns the collection of PresentationElements that serve as the root elements in the reconstituted ElementGroup.

public:
 static System::Collections::IList ^ GetRootPresentationElements(Microsoft::VisualStudio::Modeling::Transaction ^ transaction);
public static System.Collections.IList GetRootPresentationElements (Microsoft.VisualStudio.Modeling.Transaction transaction);
static member GetRootPresentationElements : Microsoft.VisualStudio.Modeling.Transaction -> System.Collections.IList
Public Shared Function GetRootPresentationElements (transaction As Transaction) As IList

Parameters

transaction
Transaction

The transaction containing the saved DesignSurfaceMergeContext. This is typically the top-level transaction.

Returns

The collection of PresentationElements that serve as the root elements in the reconstituted ElementGroup.

Applies to