DesignSurfaceMergeContext.GetElementGroup Method
Returns the ElementGroup that was reconstituted into the target store.
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 GetElementGroup ( _
transaction As Transaction _
) As ElementGroup
public static ElementGroup GetElementGroup(
Transaction transaction
)
public:
static ElementGroup^ GetElementGroup(
Transaction^ transaction
)
static member GetElementGroup :
transaction:Transaction -> ElementGroup
public static function GetElementGroup(
transaction : Transaction
) : ElementGroup
Parameters
- transaction
Type: Microsoft.VisualStudio.Modeling.Transaction
The transaction containing the saved DesignSurfaceMergeContext. This is typically the top-level transaction.
Return Value
Type: Microsoft.VisualStudio.Modeling.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.