次の方法で共有


IVsUIDataSourcePropertyChangeEvents.OnPropertyChanged Method

Definition

Handles a change to a property.

public:
 int OnPropertyChanged(Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource ^ pDataSource, System::String ^ prop, Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ pVarOld, Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ pVarNew);
public:
 int OnPropertyChanged(Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource ^ pDataSource, Platform::String ^ prop, Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ pVarOld, Microsoft::VisualStudio::Shell::Interop::IVsUIObject ^ pVarNew);
int OnPropertyChanged(Microsoft::VisualStudio::Shell::Interop::IVsUIDataSource const & pDataSource, std::wstring const & prop, Microsoft::VisualStudio::Shell::Interop::IVsUIObject const & pVarOld, Microsoft::VisualStudio::Shell::Interop::IVsUIObject const & pVarNew);
public int OnPropertyChanged (Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource pDataSource, string prop, Microsoft.VisualStudio.Shell.Interop.IVsUIObject pVarOld, Microsoft.VisualStudio.Shell.Interop.IVsUIObject pVarNew);
abstract member OnPropertyChanged : Microsoft.VisualStudio.Shell.Interop.IVsUIDataSource * string * Microsoft.VisualStudio.Shell.Interop.IVsUIObject * Microsoft.VisualStudio.Shell.Interop.IVsUIObject -> int
Public Function OnPropertyChanged (pDataSource As IVsUIDataSource, prop As String, pVarOld As IVsUIObject, pVarNew As IVsUIObject) As Integer

Parameters

pDataSource
IVsUIDataSource

[in] The data source for the properties.

prop
String

[in] The name of the property that changed.

pVarOld
IVsUIObject

[in] The value of the property before it changed

pVarNew
IVsUIObject

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

Returns

Ignored

Applies to