共用方式為


DesignSurfaceMergeContext.Set Method

Adds the DesignSurfaceMergeContext information to the specified transaction.

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 Sub Set ( _
    transaction As Transaction, _
    targetElement As ModelElement, _
    elementGroup As ElementGroup _
)
public static void Set(
    Transaction transaction,
    ModelElement targetElement,
    ElementGroup elementGroup
)
public:
static void Set(
    Transaction^ transaction, 
    ModelElement^ targetElement, 
    ElementGroup^ elementGroup
)
static member Set : 
        transaction:Transaction * 
        targetElement:ModelElement * 
        elementGroup:ElementGroup -> unit 
public static function Set(
    transaction : Transaction, 
    targetElement : ModelElement, 
    elementGroup : ElementGroup
)

Parameters

.NET Framework Security

See Also

Reference

DesignSurfaceMergeContext Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace