次の方法で共有


IViewObject.Draw Method

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

Syntax

'宣言
Sub Draw ( _
    dwDrawAspect As UInteger, _
    lindex As Integer, _
    pvAspect As UInteger, _
    ptd As DVTARGETDEVICE(), _
    hdcTargetDev As UInteger, _
    hdcDraw As UInteger, _
    lprcBounds As RECTL(), _
    lprcWBounds As RECTL(), _
    pContinue As IContinue _
)
'使用
Dim instance As IViewObject
Dim dwDrawAspect As UInteger
Dim lindex As Integer
Dim pvAspect As UInteger
Dim ptd As DVTARGETDEVICE()
Dim hdcTargetDev As UInteger
Dim hdcDraw As UInteger
Dim lprcBounds As RECTL()
Dim lprcWBounds As RECTL()
Dim pContinue As IContinue

instance.Draw(dwDrawAspect, lindex, pvAspect, _
    ptd, hdcTargetDev, hdcDraw, lprcBounds, _
    lprcWBounds, pContinue)
void Draw(
    uint dwDrawAspect,
    int lindex,
    uint pvAspect,
    DVTARGETDEVICE[] ptd,
    uint hdcTargetDev,
    uint hdcDraw,
    RECTL[] lprcBounds,
    RECTL[] lprcWBounds,
    IContinue pContinue
)
void Draw(
    [InAttribute] unsigned int dwDrawAspect, 
    [InAttribute] int lindex, 
    [InAttribute] unsigned int pvAspect, 
    [InAttribute] array<DVTARGETDEVICE>^ ptd, 
    [InAttribute] unsigned int hdcTargetDev, 
    [InAttribute] unsigned int hdcDraw, 
    [InAttribute] array<RECTL>^ lprcBounds, 
    [InAttribute] array<RECTL>^ lprcWBounds, 
    [InAttribute] IContinue^ pContinue
)
abstract Draw : 
        dwDrawAspect:uint32 * 
        lindex:int * 
        pvAspect:uint32 * 
        ptd:DVTARGETDEVICE[] * 
        hdcTargetDev:uint32 * 
        hdcDraw:uint32 * 
        lprcBounds:RECTL[] * 
        lprcWBounds:RECTL[] * 
        pContinue:IContinue -> unit 
function Draw(
    dwDrawAspect : uint, 
    lindex : int, 
    pvAspect : uint, 
    ptd : DVTARGETDEVICE[], 
    hdcTargetDev : uint, 
    hdcDraw : uint, 
    lprcBounds : RECTL[], 
    lprcWBounds : RECTL[], 
    pContinue : IContinue
)

Parameters

Remarks

For information on the COM interface, see IViewObject::Draw

.NET Framework Security

See Also

Reference

IViewObject Interface

IViewObject Members

Microsoft.VisualStudio.OLE.Interop Namespace