Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Reports that the current selection container has changed.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)
Syntax
'Declaration
Function OnSelectChange ( _
pSC As ISelectionContainer _
) As Integer
int OnSelectChange(
ISelectionContainer pSC
)
int OnSelectChange(
[InAttribute] ISelectionContainer^ pSC
)
abstract OnSelectChange :
pSC:ISelectionContainer -> int
function OnSelectChange(
pSC : ISelectionContainer
) : int
Parameters
- pSC
Type: Microsoft.VisualStudio.Shell.Interop.ISelectionContainer
[in] Pointer to the ISelectionContainer interface to access Properties window data for the current selection.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
ITrackSelection.OnSelectChange(ISelectionContainer)
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsTrackSelectionEx::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.
.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.