Class Disposable
Definition
- Namespace:
- Tizen.NUI
- Assembly:
- Tizen.NUI.dll
- API Level:
- 6
Disposable class.
C#Copypublic class Disposable : System.IDisposable
- Inheritance
-
Disposable
- Derived
Constructors
Declaration
C#Copypublic Disposable()
API Level: 6
Declaration
C#Copypublic Disposable(System.IntPtr cPtr, bool cMemoryOwn)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | cPtr | |
Boolean | cMemoryOwn |
Fields
Declaration
C#Copyprotected bool disposed
Field Value
Type | Description |
---|---|
Boolean |
API Level: 6
Properties
Declaration
C#Copyprotected bool Disposed { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
Declaration
C#Copypublic void Dispose()
API Level: 6
Declaration
C#Copyprotected virtual void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | true in order to free managed objects |
Remarks
Following the guide of https://docs.microsoft.com/en-us/dotnet/standard/garbage-collection/implementing-dispose. This will replace "protected virtual void Dispose(DisposeTypes type)" which is exactly same in functionality.
Declaration
C#Copyprotected virtual void Dispose(DisposeTypes type)
Parameters
Type | Name | Description |
---|---|---|
DisposeTypes | type |
API Level: 6
Declaration
C#Copyprotected void Finalize()
API Level: 6
Declaration
C#Copyprotected virtual void ReleaseSwigCPtr(Runtime.InteropServices.HandleRef swigCPtr)
Parameters
Type | Name | Description |
---|---|---|
Tizen.System.Runtime.InteropServices.HandleRef | swigCPtr |