RefCountedDisposableRetainT Method |
Retains the object and returns it as a downcasted object
Namespace:
Couchbase.Lite.Util
Assembly:
Couchbase.Lite (in Couchbase.Lite.dll) Version: 0.0.0
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