EffectGroupBase.DisposeAndSetNull<T> Method
Disposes the passed field value if it implements IDisposable. Also sets the field to null.
Namespace: Lumia.Imaging.Custom
Assembly: Lumia.Imaging.Managed (in Lumia.Imaging.Managed.dll) Version: 0.0.0.0
Syntax
protected void DisposeAndSetNull<T>(
ref T field
)
where T : class
'Declaration
Protected Sub DisposeAndSetNull(Of T As Class) (
ByRef field As T
)
protected:
generic<typename T>
where T : ref class
void DisposeAndSetNull(
T% field
)
JavaScript does not support generic types or methods.
Parameters
- field
Type: T%
The field to dispose.
Type Parameters
- T
Type of the field parameter.
Version Information
Lumia Imaging SDK
Supported in: 2.0