Condividi tramite


MergeContext.GetRootModelElements Method

Returns the collection of ModelElements (non-PresentationElements) that serve as the root elements in the reconstituted ElementGroup.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Dichiarazione
Public Shared Function GetRootModelElements ( _
    transaction As Transaction _
) As ReadOnlyCollection(Of ModelElement)
public static ReadOnlyCollection<ModelElement> GetRootModelElements(
    Transaction transaction
)
public:
static ReadOnlyCollection<ModelElement^>^ GetRootModelElements(
    Transaction^ transaction
)
static member GetRootModelElements : 
        transaction:Transaction -> ReadOnlyCollection<ModelElement> 
public static function GetRootModelElements(
    transaction : Transaction
) : ReadOnlyCollection<ModelElement>

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ModelElement>
The collection of ModelElements (non-PresentationElements) that serve as the root elements in the reconstituted ElementGroup.

.NET Framework Security

See Also

Reference

MergeContext Class

Microsoft.VisualStudio.Modeling Namespace