IVsProjectDesignerPageSite.OnPropertyChanged 方法
引发于在属性页中的属性后已更改。
命名空间: Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
程序集: Microsoft.VisualStudio.ManagedInterfaces(在 Microsoft.VisualStudio.ManagedInterfaces.dll 中)
语法
声明
Sub OnPropertyChanged ( _
propertyName As String, _
propertyDescriptor As PropertyDescriptor, _
oldValue As Object, _
newValue As Object _
)
void OnPropertyChanged(
string propertyName,
PropertyDescriptor propertyDescriptor,
Object oldValue,
Object newValue
)
参数
- propertyName
类型:System.String
其值已更改的属性的名称。
- propertyDescriptor
类型:System.ComponentModel.PropertyDescriptor
应用于属性的 PropertyDescriptor 。
- oldValue
类型:System.Object
以前的属性值。
- newValue
类型:System.Object
属性的新值。
备注
如果项目设计器承载 " 属性页中支持自动撤消/重做,它必须调用此方法,在属性值更改后。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner 命名空间