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
- dwDrawAspect
Type: System.UInt32
- lindex
Type: System.Int32
- pvAspect
Type: System.UInt32
- ptd
Type: array<Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[]
- hdcTargetDev
Type: System.UInt32
- hdcDraw
Type: System.UInt32
- lprcBounds
Type: array<Microsoft.VisualStudio.OLE.Interop.RECTL[]
- lprcWBounds
Type: array<Microsoft.VisualStudio.OLE.Interop.RECTL[]
- pContinue
Type: Microsoft.VisualStudio.OLE.Interop.IContinue
Remarks
For information on the COM interface, see IViewObject::Draw
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.