次の方法で共有


IOleInPlaceSiteWindowless.ReleaseDC Method

Releases the device context previously obtained by a call to IOleInPlaceSiteWindowless::GetDC.

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

Syntax

'宣言
Sub ReleaseDC ( _
    hDC As IntPtr _
)
'使用
Dim instance As IOleInPlaceSiteWindowless
Dim hDC As IntPtr

instance.ReleaseDC(hDC)
void ReleaseDC(
    IntPtr hDC
)
void ReleaseDC(
    [InAttribute] IntPtr hDC
)
abstract ReleaseDC : 
        hDC:IntPtr -> unit 
function ReleaseDC(
    hDC : IntPtr
)

Parameters

  • hDC
    Type: System.IntPtr
    [in] Specifies the device context to be released.

Remarks

For information on the COM interface, see IOleInPlaceSiteWindowless::ReleaseDC

.NET Framework Security

See Also

Reference

IOleInPlaceSiteWindowless Interface

IOleInPlaceSiteWindowless Members

Microsoft.VisualStudio.OLE.Interop Namespace