IVsUIDataSourcePropertyChangeEvents.OnPropertyChanged Method
Namespace: Microsoft.VisualStudio.Shell.Interop
Assemblies: Microsoft.VisualStudio.Shell.Interop.10.0 (in Microsoft.VisualStudio.Shell.Interop.10.0.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Function OnPropertyChanged ( _
pDataSource As IVsUIDataSource, _
prop As String, _
pVarOld As IVsUIObject, _
pVarNew As IVsUIObject _
) As Integer
'Utilisation
Dim instance As IVsUIDataSourcePropertyChangeEvents
Dim pDataSource As IVsUIDataSource
Dim prop As String
Dim pVarOld As IVsUIObject
Dim pVarNew As IVsUIObject
Dim returnValue As Integer
returnValue = instance.OnPropertyChanged(pDataSource, _
prop, pVarOld, pVarNew)
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
- prop
Type: System.String
- pVarOld
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
- pVarNew
Type: Microsoft.VisualStudio.Shell.Interop.IVsUIObject
Return Value
Type: System.Int32
.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.
See Also
Reference
IVsUIDataSourcePropertyChangeEvents Interface