This documentation is archived and is not being maintained.
ITrackSelection.OnSelectChange Method
Visual Studio 2005
Reports that the current selection container has changed.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)
Assembly: Microsoft.VisualStudio.Shell.Interop (in microsoft.visualstudio.shell.interop.dll)
'Declaration Function OnSelectChange ( _ <InAttribute> pSC As ISelectionContainer _ ) As Integer 'Usage Dim instance As ITrackSelection Dim pSC As ISelectionContainer Dim returnValue As Integer returnValue = instance.OnSelectChange(pSC)
int OnSelectChange ( /** @attribute InAttribute() */ ISelectionContainer pSC )
function OnSelectChange ( pSC : ISelectionContainer ) : int
Parameters
- pSC
[in] Pointer to the ISelectionContainer interface to access Properties window data for the current selection.
Return Value
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Show: