Click or drag to resize

RefCountedDisposableRetainT Method

Retains the object and returns it as a downcasted object

Namespace:  Couchbase.Lite.Util
Assembly:  Couchbase.Lite (in Couchbase.Lite.dll) Version: 2.0.0-b0469
Syntax
C#
public T Retain<T>()
where T : RefCountedDisposable

Type Parameters

T
The type of object being returned

Return Value

Type: T
The object that was retained
See Also