Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Adds a handler for events at the domain class level.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)
Syntax
'Declaration
Public Sub Add ( _
domainClass As DomainClassInfo, _
handler As Delegate _
)
public void Add(
DomainClassInfo domainClass,
Delegate handler
)
public:
void Add(
DomainClassInfo^ domainClass,
Delegate^ handler
)
member Add :
domainClass:DomainClassInfo *
handler:Delegate -> unit
public function Add(
domainClass : DomainClassInfo,
handler : Delegate
)
Parameters
- domainClass
Type: Microsoft.VisualStudio.Modeling.DomainClassInfo
The domain class or domain relationship for which events are to be handled.
- 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.