次の方法で共有


IVsHelpSystem.GetCurrentURL Method

Retrieves the URL of the topic currently displayed in the topic window.

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

Syntax

'宣言
Function GetCurrentURL ( _
    <OutAttribute> ByRef ppszURL As String _
) As Integer
'使用
Dim instance As IVsHelpSystem
Dim ppszURL As String
Dim returnValue As Integer

returnValue = instance.GetCurrentURL(ppszURL)
int GetCurrentURL(
    out string ppszURL
)
int GetCurrentURL(
    [OutAttribute] String^% ppszURL
)
abstract GetCurrentURL : 
        ppszURL:string byref -> int 
function GetCurrentURL(
    ppszURL : String
) : int

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IVsHelpSystem Interface

IVsHelpSystem Members

Microsoft.VisualStudio.Shell.Interop Namespace