ElementEventManager.Remove Method (DomainClassInfo, Delegate)
Removes an event handler for a domain class or domain relationship.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Dichiarazione
Public Sub Remove ( _
domainClass As DomainClassInfo, _
handler As Delegate _
)
public void Remove(
DomainClassInfo domainClass,
Delegate handler
)
public:
void Remove(
DomainClassInfo^ domainClass,
Delegate^ handler
)
member Remove :
domainClass:DomainClassInfo *
handler:Delegate -> unit
public function Remove(
domainClass : DomainClassInfo,
handler : Delegate
)
Parameters
- domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
The domain class whose event handler is to be removed.
- handler
Type: System.Delegate
The event handler.
.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.