Delete a object of a generic type.
Namespace: Cartella.InterfacesAssembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
C# |
---|
bool DeleteObject<T>( bool permanentDelete, ref T obj ) where T : class, new(), ICartellaObject |
Visual Basic |
---|
Function DeleteObject(Of T As {Class, New, ICartellaObject}) ( _ permanentDelete As Boolean, _ ByRef obj As T _ ) As Boolean |
Visual C++ |
---|
generic<typename T> where T : ref class, gcnew(), ICartellaObject bool DeleteObject( bool permanentDelete, T% obj ) |
Type Parameters
- T
- Type of the object to delete