Remove an event handler that is notified whenever the order of elements that play a particular role in relationships with any source element changes.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub Remove ( _
counterpartDomainRole As DomainRoleInfo, _
handler As Delegate _
)
'使用
Dim instance As RolePlayerOrderChangedEventManager
Dim counterpartDomainRole As DomainRoleInfo
Dim handler As Delegate
instance.Remove(counterpartDomainRole, _
handler)
public void Remove(
DomainRoleInfo counterpartDomainRole,
Delegate handler
)
public:
void Remove(
DomainRoleInfo^ counterpartDomainRole,
Delegate^ handler
)
public function Remove(
counterpartDomainRole : DomainRoleInfo,
handler : Delegate
)
Parameters
counterpartDomainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoThe domain role played by the Elements whose order is changed.
handler
Type: System.DelegateThe handler to remove.
Permissions
- 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.
See Also
Reference
RolePlayerOrderChangedEventManager Class