Share via


IVsDeferredDocView.get_DocView Method

Provides the document view to the document window.

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

Syntax

'Declaration
Function get_DocView ( _
    <OutAttribute> ByRef ppUnkDocView As IntPtr _
) As Integer
int get_DocView(
    out IntPtr ppUnkDocView
)
int get_DocView(
    [OutAttribute] IntPtr% ppUnkDocView
)
abstract get_DocView : 
        ppUnkDocView:IntPtr byref -> int
function get_DocView(
    ppUnkDocView : IntPtr
) : int

Parameters

  • ppUnkDocView
    Type: IntPtr%

    [out] Pointer to the IUnknown interface of the document view. Used as an argument to CreateDocumentWindow.

Return Value

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

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsDeferredDocView::get_DocView(
   out] IUnknown **ppUnkDocView
);

.NET Framework Security

See Also

Reference

IVsDeferredDocView Interface

Microsoft.VisualStudio.Shell.Interop Namespace