IVsUIHierarchyWindow2.SetWindowHelpTopic Method (String, UInt32)

Sets the Help topic for the hierarchy window.

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

Syntax

'Declaración
Function SetWindowHelpTopic ( _
    lpszHelpFile As String, _
    dwContext As UInteger _
) As Integer
'Uso
Dim instance As IVsUIHierarchyWindow2
Dim lpszHelpFile As String
Dim dwContext As UInteger
Dim returnValue As Integer

returnValue = instance.SetWindowHelpTopic(lpszHelpFile, _
    dwContext)
int SetWindowHelpTopic(
    string lpszHelpFile,
    uint dwContext
)
int SetWindowHelpTopic(
    [InAttribute] String^ lpszHelpFile, 
    [InAttribute] unsigned int dwContext
)
abstract SetWindowHelpTopic : 
        lpszHelpFile:string * 
        dwContext:uint32 -> int 
function SetWindowHelpTopic(
    lpszHelpFile : String, 
    dwContext : uint
) : int

Parameters

Return Value

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

Implements

IVsUIHierarchyWindow.SetWindowHelpTopic(String, UInt32)

Remarks

When the user presses the F1 key in the active hierarchy window, this method sets the corresponding Help topic for that window. The Help topic is specific to the hierarchy window as a whole — not to items within the hierarchy window.

.NET Framework Security

See Also

Reference

IVsUIHierarchyWindow2 Interface

IVsUIHierarchyWindow2 Members

SetWindowHelpTopic Overload

Microsoft.VisualStudio.Shell.Interop Namespace