IVsUIDataSourcePropertyChangeEvents::OnPropertyChanged Method (IVsUIDataSource^, String^, IVsUIObject^, IVsUIObject^)

 

Handles a change to a property.

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

int OnPropertyChanged(
	IVsUIDataSource^ pDataSource,
	String^ prop,
	IVsUIObject^ pVarOld,
	IVsUIObject^ pVarNew
)

Parameters

pDataSource
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIDataSource^

[in] The data source for the properties.

prop
Type: System::String^

[in] The name of the property that changed.

pVarOld
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIObject^

[in] The value of the property before it changed

pVarNew
Type: Microsoft.VisualStudio.Shell.Interop::IVsUIObject^

[in] The value of the property after it changed.

Return Value

Type: System::Int32

Ignored

Return to top
Show: