IVsUIDataSourcePropertyChangeEvents.OnPropertyChanged Method
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)
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
- 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
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.