Compartir a través de


IVsWebBrowser.GetDocumentInfo Method

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

Syntax

'Declaración
Function GetDocumentInfo ( _
    dwInfoIndex As UInteger, _
    <OutAttribute> ByRef pvarInfo As Object _
) As Integer
'Uso
Dim instance As IVsWebBrowser
Dim dwInfoIndex As UInteger
Dim pvarInfo As Object
Dim returnValue As Integer

returnValue = instance.GetDocumentInfo(dwInfoIndex, _
    pvarInfo)
int GetDocumentInfo(
    uint dwInfoIndex,
    out Object pvarInfo
)
int GetDocumentInfo(
    [InAttribute] unsigned int dwInfoIndex, 
    [OutAttribute] Object^% pvarInfo
)
abstract GetDocumentInfo : 
        dwInfoIndex:uint32 * 
        pvarInfo:Object byref -> int 
function GetDocumentInfo(
    dwInfoIndex : uint, 
    pvarInfo : Object
) : int

Parameters

  • dwInfoIndex
    Type: System.UInt32
    [in] [Microsoft.VisualStudio.Shell.Interop.__VSWBDOCINFOINDEX] specifying document name, url, type, etc. to be returned.

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 vsbrowse.idl:

HRESULT IVsWebBrowser::GetDocumentInfo(
   [in] VSWBDOCINFOINDEX dwInfoIndex, 
   [out] VARIANT* pvarInfo
);

.NET Framework Security

See Also

Reference

IVsWebBrowser Interface

IVsWebBrowser Members

Microsoft.VisualStudio.Shell.Interop Namespace