다음을 통해 공유


IVsSwatchClient.RealizePalette Method

Realizes the specified palette and returns the old palette.

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

Syntax

‘선언
Function RealizePalette ( _
    hdc As IntPtr, _
    <OutAttribute> ByRef phpalOld As IntPtr _
) As Integer
‘사용 방법
Dim instance As IVsSwatchClient
Dim hdc As IntPtr
Dim phpalOld As IntPtr
Dim returnValue As Integer

returnValue = instance.RealizePalette(hdc, _
    phpalOld)
int RealizePalette(
    IntPtr hdc,
    out IntPtr phpalOld
)
int RealizePalette(
    [InAttribute] IntPtr hdc, 
    [OutAttribute] IntPtr% phpalOld
)
abstract RealizePalette : 
        hdc:IntPtr * 
        phpalOld:IntPtr byref -> int 
function RealizePalette(
    hdc : IntPtr, 
    phpalOld : IntPtr
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSwatchClient::RealizePalette(
   [in] HDC hdc, 
   [out, retval] HPALETTE *phpalOld
);

.NET Framework Security

See Also

Reference

IVsSwatchClient Interface

IVsSwatchClient Members

Microsoft.VisualStudio.Shell.Interop Namespace