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
Syntaxpublic T Retain<T>()
where T : RefCountedDisposable
Type Parameters
- T
- The type of object being returned
Return Value
Type:
TThe object that was retained
See Also