ITrackSelection.OnSelectChange(ISelectionContainer) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reports that the current selection container has changed.
public:
int OnSelectChange(Microsoft::VisualStudio::Shell::Interop::ISelectionContainer ^ pSC);
public:
int OnSelectChange(Microsoft::VisualStudio::Shell::Interop::ISelectionContainer ^ pSC);
int OnSelectChange(Microsoft::VisualStudio::Shell::Interop::ISelectionContainer const & pSC);
public int OnSelectChange (Microsoft.VisualStudio.Shell.Interop.ISelectionContainer pSC);
abstract member OnSelectChange : Microsoft.VisualStudio.Shell.Interop.ISelectionContainer -> int
Public Function OnSelectChange (pSC As ISelectionContainer) As Integer
Parameters
[in] Pointer to the ISelectionContainer interface to access Properties window data for the current selection.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From designer.idl:
HRESULT ITrackSelection::OnSelectChange(
[in] ISelectionContainer * pSC
);
An ISelectionContainer pointer is part of the selection context that is maintained by the environment for every window. The environment uses this pointer to retrieve Properties window data.