IViewObject.GetColorSet Method

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

Syntax

'Declaration
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
)
int 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 -> int
function GetColorSet(
    dwDrawAspect : uint, 
    lindex : int, 
    pvAspect : uint, 
    ptd : DVTARGETDEVICE[], 
    hicTargetDev : uint, 
    ppColorSet : IntPtr
) : int

Parameters

  • dwDrawAspect
    Type: UInt32
  • lindex
    Type: Int32
  • pvAspect
    Type: UInt32
  • hicTargetDev
    Type: UInt32
  • ppColorSet
    Type: IntPtr%

Return Value

Type: Int32

Remarks

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

.NET Framework Security

See Also

Reference

IViewObject Interface

Microsoft.VisualStudio.OLE.Interop Namespace