Returns the user context object for the given list item.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
- Type: System.UInt32
[in] Specifies the index of the list item of interest.
- Type: System.Object%
[out] Pointer to a context bag returned as an IUnknown interface.
By default, the environment uses the fully qualified item name as the F1 keyword for dynamic help. Use the GetUserContext method to supply supplemental dynamic help information, such as Language ID, for the given list item when it is selected. The returned context bag must support IVsUserContext to provide additional context attributes and keywords.
- 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.