共用方式為


IVsObjectList.ShowHelp Method

Allows the list to display help for the given list item.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'宣告
Function ShowHelp ( _
    index As UInteger _
) As Integer
'用途
Dim instance As IVsObjectList
Dim index As UInteger
Dim returnValue As Integer

returnValue = instance.ShowHelp(index)
int ShowHelp(
    uint index
)
int ShowHelp(
    [InAttribute] unsigned int index
)
abstract ShowHelp : 
        index:uint32 -> int 
function ShowHelp(
    index : uint
) : int

Parameters

  • index
    Type: System.UInt32
    [in] Specifies the index of the list item of interest.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsObjectList::ShowHelp(
   [in] ULONG Index
);

Most implementers should return E_NOTIMPL from this method and rely on the environment's dynamic help mechanism to provide help topics on the selected symbol. This method is provided, however, if the components your library is browsing have non-standard help (such as needing an external viewer).

.NET Framework Security

See Also

Reference

IVsObjectList Interface

IVsObjectList Members

Microsoft.VisualStudio.Shell.Interop Namespace