IVsProjectDesignerPageSite.OnPropertyChanged Method
Raised after a property on the property page has changed.
Namespace: Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
Assembly: Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)
Syntax
'Dichiarazione
Sub OnPropertyChanged ( _
propertyName As String, _
propertyDescriptor As PropertyDescriptor, _
oldValue As Object, _
newValue As Object _
)
'Utilizzo
Dim instance As IVsProjectDesignerPageSite
Dim propertyName As String
Dim propertyDescriptor As PropertyDescriptor
Dim oldValue As Object
Dim newValue As Object
instance.OnPropertyChanged(propertyName, _
propertyDescriptor, oldValue, newValue)
void OnPropertyChanged(
string propertyName,
PropertyDescriptor propertyDescriptor,
Object oldValue,
Object newValue
)
void OnPropertyChanged(
String^ propertyName,
PropertyDescriptor^ propertyDescriptor,
Object^ oldValue,
Object^ newValue
)
abstract OnPropertyChanged :
propertyName:string *
propertyDescriptor:PropertyDescriptor *
oldValue:Object *
newValue:Object -> unit
function OnPropertyChanged(
propertyName : String,
propertyDescriptor : PropertyDescriptor,
oldValue : Object,
newValue : Object
)
Parameters
- propertyName
Type: System.String
The name of the property whose value has changed.
- propertyDescriptor
Type: System.ComponentModel.PropertyDescriptor
A PropertyDescriptor that applies to the property.
- oldValue
Type: System.Object
The previous value of the property.
- newValue
Type: System.Object
The new value of the property.
Remarks
If a property page hosted by the Project Designer wants to support automatic Undo/Redo, it must call this method after a property value has changed.
.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.
See Also
Reference
IVsProjectDesignerPageSite Interface
IVsProjectDesignerPageSite Members
Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace