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
- 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.
See Also
Reference
IOleInPlaceSiteWindowless Interface