Removes an event handler that is notified whenever the value of any instance of a particular domain property is changed.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'宣言
Public Sub Remove ( _
domainProperty As DomainPropertyInfo, _
handler As Delegate _
)
'使用
Dim instance As ElementPropertyChangedEventManager
Dim domainProperty As DomainPropertyInfo
Dim handler As Delegate
instance.Remove(domainProperty, handler)
public void Remove(
DomainPropertyInfo domainProperty,
Delegate handler
)
public:
void Remove(
DomainPropertyInfo^ domainProperty,
Delegate^ handler
)
public function Remove(
domainProperty : DomainPropertyInfo,
handler : Delegate
)
Parameters
domainProperty
Type: Microsoft.VisualStudio.Modeling.DomainPropertyInfoThe domain property to observe.
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
ElementPropertyChangedEventManager Class