Share via


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

'Declaration
Sub OnPropertyChanged ( _
    propertyName As String, _
    propertyDescriptor As PropertyDescriptor, _
    oldValue As Object, _
    newValue As Object _
)
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.
  • oldValue
    Type: System.Object
    The previous 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

See Also

Reference

IVsProjectDesignerPageSite Interface

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace