SoftwareBitmapSource.Close Method

Definition

Disposes of the object and associated resources.

Equivalent WinUI 2 API for UWP: Microsoft.UI.Xaml.Media.Imaging.SoftwareBitmapSource.Close (for WinUI in the Windows App SDK, see the Windows App SDK namespaces).

public:
 virtual void Close() = Close;
void Close();
// This member is not implemented in C#
function close()
' This member is not implemented in VB.NET

Implements

M:Windows.Foundation.IClosable.Close M:System.IDisposable.Close

Remarks

For Microsoft Visual Basic and C#, use the Dispose method.

Applies to