Condividi tramite


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: String

    The name of the property whose value has changed.

  • propertyDescriptor
    Type: PropertyDescriptor

    A PropertyDescriptor that applies to the property.

  • oldValue
    Type: Object

    The previous value of the property.

  • newValue
    Type: 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

See Also

Reference

IVsProjectDesignerPageSite Interface

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace