Condividi tramite


RolePlayerOrderChangedEventManager.Add Method (DomainRoleInfo, Delegate)

Adds an event handler that is notified whenever the order of elements that play a particular domain role changes for any source element.

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

Syntax

'Dichiarazione
Public Sub Add ( _
    counterpartDomainRole As DomainRoleInfo, _
    handler As Delegate _
)
public void Add(
    DomainRoleInfo counterpartDomainRole,
    Delegate handler
)
public:
void Add(
    DomainRoleInfo^ counterpartDomainRole, 
    Delegate^ handler
)
member Add : 
        counterpartDomainRole:DomainRoleInfo * 
        handler:Delegate -> unit 
public function Add(
    counterpartDomainRole : DomainRoleInfo, 
    handler : Delegate
)

Parameters

Remarks

For example, add an event handler that is notified whenever the order of child columns is changed for any database table. In this example, the "counterpart domain role" is the child-column role.

.NET Framework Security

See Also

Reference

RolePlayerOrderChangedEventManager Class

Add Overload

Microsoft.VisualStudio.Modeling Namespace