Compartilhar via


IVsWebBrowser.GetDocumentInfo(UInt32, Object) Method

Definition

Gets information about the specified document.

public:
 int GetDocumentInfo(System::UInt32 dwInfoIndex, [Runtime::InteropServices::Out] System::Object ^ % pvarInfo);
int GetDocumentInfo(unsigned int dwInfoIndex, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & pvarInfo);
public int GetDocumentInfo (uint dwInfoIndex, out object pvarInfo);
abstract member GetDocumentInfo : uint32 * obj -> int
Public Function GetDocumentInfo (dwInfoIndex As UInteger, ByRef pvarInfo As Object) As Integer

Parameters

dwInfoIndex
UInt32

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

pvarInfo
Object

[out] The requested info.

Returns

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  
);  

Applies to