共用方式為


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

'宣告
Sub OnPropertyChanged ( _
    propertyName As String, _
    propertyDescriptor As PropertyDescriptor, _
    oldValue As Object, _
    newValue As Object _
)
void OnPropertyChanged(
    string propertyName,
    PropertyDescriptor propertyDescriptor,
    Object oldValue,
    Object newValue
)

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