共用方式為


DesignSurfaceMergeContext.GetRootModelElements Method

Returns the collection of ModelElements (non-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

'宣告
Public Shared Function GetRootModelElements ( _
    transaction As Transaction _
) As IList
public static IList GetRootModelElements(
    Transaction transaction
)
public:
static IList^ GetRootModelElements(
    Transaction^ transaction
)
static member GetRootModelElements : 
        transaction:Transaction -> IList 
public static function GetRootModelElements(
    transaction : Transaction
) : IList

Parameters

Return Value

Type: System.Collections.IList

.NET Framework Security

See Also

Reference

DesignSurfaceMergeContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace