IViewObjectEx.GetColorSet Method (UInt32, Int32, UInt32, array<DVTARGETDEVICE , UInt32, IntPtr%)
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'宣言
Sub GetColorSet ( _
dwDrawAspect As UInteger, _
lindex As Integer, _
pvAspect As UInteger, _
ptd As DVTARGETDEVICE(), _
hicTargetDev As UInteger, _
<OutAttribute> ByRef ppColorSet As IntPtr _
)
'使用
Dim instance As IViewObjectEx
Dim dwDrawAspect As UInteger
Dim lindex As Integer
Dim pvAspect As UInteger
Dim ptd As DVTARGETDEVICE()
Dim hicTargetDev As UInteger
Dim ppColorSet As IntPtr
instance.GetColorSet(dwDrawAspect, lindex, _
pvAspect, ptd, hicTargetDev, ppColorSet)
void GetColorSet(
uint dwDrawAspect,
int lindex,
uint pvAspect,
DVTARGETDEVICE[] ptd,
uint hicTargetDev,
out IntPtr ppColorSet
)
void GetColorSet(
[InAttribute] unsigned int dwDrawAspect,
[InAttribute] int lindex,
[InAttribute] unsigned int pvAspect,
[InAttribute] array<DVTARGETDEVICE>^ ptd,
[InAttribute] unsigned int hicTargetDev,
[OutAttribute] IntPtr% ppColorSet
)
abstract GetColorSet :
dwDrawAspect:uint32 *
lindex:int *
pvAspect:uint32 *
ptd:DVTARGETDEVICE[] *
hicTargetDev:uint32 *
ppColorSet:IntPtr byref -> unit
function GetColorSet(
dwDrawAspect : uint,
lindex : int,
pvAspect : uint,
ptd : DVTARGETDEVICE[],
hicTargetDev : uint,
ppColorSet : IntPtr
)
Parameters
- dwDrawAspect
Type: System.UInt32
- lindex
Type: System.Int32
- pvAspect
Type: System.UInt32
- ptd
Type: array<Microsoft.VisualStudio.OLE.Interop.DVTARGETDEVICE[]
- hicTargetDev
Type: System.UInt32
- ppColorSet
Type: System.IntPtr%
Implements
IViewObject2.GetColorSet(UInt32, Int32, UInt32, array<DVTARGETDEVICE[], UInt32, IntPtr%)
.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.