다음을 통해 공유


IVsWebBrowser.GetDocumentInfo Method

Gets information about the specified document.

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

Syntax

'Declaration
Function GetDocumentInfo ( _
    dwInfoIndex As UInteger, _
    <OutAttribute> ByRef pvarInfo As Object _
) As Integer
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: UInt32

    [in] __VSWBDOCINFOINDEX specifying document name, URL, type, etc. to be returned.

  • pvarInfo
    Type: Object%

    [out] The requested info.

Return Value

Type: 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

Microsoft.VisualStudio.Shell.Interop Namespace