IViewObject.GetColorSet Method
Namespace: Microsoft.VisualStudio.OLE.Interop
Assembly: Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)
Syntax
'Declaração
Function GetColorSet ( _
dwDrawAspect As UInteger, _
lindex As Integer, _
pvAspect As UInteger, _
ptd As DVTARGETDEVICE(), _
hicTargetDev As UInteger, _
<OutAttribute> ByRef ppColorSet As IntPtr _
) As Integer
int GetColorSet(
uint dwDrawAspect,
int lindex,
uint pvAspect,
DVTARGETDEVICE[] ptd,
uint hicTargetDev,
out IntPtr ppColorSet
)
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%
Return Value
Type: System.Int32
Remarks
For information on the COM interface, see IViewObject::GetColorSet
.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.