Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
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
transaction
Type: Microsoft.VisualStudio.Modeling.TransactionThe transaction containing the saved MergeContext. This is typically the top-level transaction.
Return Value
Type: ReadOnlyCollection<ModelElement>
The collection of ModelElements (non-PresentationElements) that serve as the root elements in the reconstituted ElementGroup.
.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.