Removes an event handler that is called whenever the element that plays a particular role in a particular link is changed.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub Remove ( _
domainRole As DomainRoleInfo, _
elementLinkId As Guid, _
handler As Delegate _
)
'使用
Dim instance As RolePlayerChangedEventManager
Dim domainRole As DomainRoleInfo
Dim elementLinkId As Guid
Dim handler As Delegate
instance.Remove(domainRole, elementLinkId, _
handler)
public void Remove(
DomainRoleInfo domainRole,
Guid elementLinkId,
Delegate handler
)
public:
void Remove(
DomainRoleInfo^ domainRole,
Guid elementLinkId,
Delegate^ handler
)
public function Remove(
domainRole : DomainRoleInfo,
elementLinkId : Guid,
handler : Delegate
)
Parameters
domainRole
Type: Microsoft.VisualStudio.Modeling.DomainRoleInfoThe domain role that is observed.
elementLinkId
Type: System.GuidThe ID of the element that is observed.
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
RolePlayerChangedEventManager Class