Compartilhar via


IVsUIDataSourcePropertyChangeEvents.OnPropertyChanged Method

Handles a change to a property.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assemblies:   Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)
  Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)

Syntax

'Declaration
Function OnPropertyChanged ( _
    pDataSource As IVsUIDataSource, _
    prop As String, _
    pVarOld As IVsUIObject, _
    pVarNew As IVsUIObject _
) As Integer
int OnPropertyChanged(
    IVsUIDataSource pDataSource,
    string prop,
    IVsUIObject pVarOld,
    IVsUIObject pVarNew
)
int OnPropertyChanged(
    [InAttribute] IVsUIDataSource^ pDataSource, 
    [InAttribute] String^ prop, 
    [InAttribute] IVsUIObject^ pVarOld, 
    [InAttribute] IVsUIObject^ pVarNew
)
abstract OnPropertyChanged : 
        pDataSource:IVsUIDataSource * 
        prop:string * 
        pVarOld:IVsUIObject * 
        pVarNew:IVsUIObject -> int
function OnPropertyChanged(
    pDataSource : IVsUIDataSource, 
    prop : String, 
    pVarOld : IVsUIObject, 
    pVarNew : IVsUIObject
) : int

Parameters

  • prop
    Type: String

    [in] The name of the property that changed.

Return Value

Type: Int32
Ignored

.NET Framework Security

See Also

Reference

IVsUIDataSourcePropertyChangeEvents Interface

Microsoft.VisualStudio.Shell.Interop Namespace