次の方法で共有


IVsProjectDesignerPageSite.OnPropertyChanging Method

Raised before a property value is changed.

Namespace:  Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner
Assembly:  Microsoft.VisualStudio.ManagedInterfaces (in Microsoft.VisualStudio.ManagedInterfaces.dll)

Syntax

'宣言
Sub OnPropertyChanging ( _
    propertyName As String, _
    propertyDescriptor As PropertyDescriptor _
)
void OnPropertyChanging(
    string propertyName,
    PropertyDescriptor propertyDescriptor
)

Parameters

  • propertyName
    Type: System.String
    The name of the property to be changed.

Remarks

If a property page hosted by the Project Designer wants to support automatic Undo/Redo, it must call this method before a property value is changed. This allows the site to query for the current value of the property and save it for later use in handling Undo/Redo.

.NET Framework Security

See Also

Reference

IVsProjectDesignerPageSite Interface

Microsoft.VisualStudio.ManagedInterfaces.ProjectDesigner Namespace