Share via


ImageFrame.Dispose Method (Boolean)

Kinect for Windows 1.5, 1.6, 1.7, 1.8

Releases unmanaged resources and optionally releases managed resources used by an ImageFrame object.

Syntax

protected abstract void Dispose (
         bool disposing
)
'Declaration
Protected MustOverride Sub Dispose ( _
         disposing As Boolean _
)

Parameters

  • disposing
    Type: Boolean
    true to release managed resources also; otherwise false.

Requirements

Namespace: Microsoft.Kinect

Assembly: Microsoft.Kinect (in microsoft.kinect.dll)

See Also

Reference

ImageFrame Class
ImageFrame Members
Microsoft.Kinect Namespace