更新:2007 年 11 月
表示用来处理 PropertyValue 的 PropertyValueException 事件的方法。
命名空间: Microsoft.Windows.Design.PropertyEditing
程序集: Microsoft.Windows.Design(在 Microsoft.Windows.Design.dll 中)
语法
声明
Public Event PropertyValueException As EventHandler(Of PropertyValueExceptionEventArgs)
用法
Dim instance As PropertyValue
Dim handler As EventHandler(Of PropertyValueExceptionEventArgs)
AddHandler instance.PropertyValueException, handler
public event EventHandler<PropertyValueExceptionEventArgs> PropertyValueException
public:
event EventHandler<PropertyValueExceptionEventArgs^>^ PropertyValueException {
void add (EventHandler<PropertyValueExceptionEventArgs^>^ value);
void remove (EventHandler<PropertyValueExceptionEventArgs^>^ value);
}
JScript 不支持事件。
备注
此事件由 OnPropertyValueException 方法引发。
权限
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
另请参见
参考
Microsoft.Windows.Design.PropertyEditing 命名空间