Create a new object by generic type.
Namespace: Cartella.InterfacesAssembly: CartellaData (in CartellaData.dll) Version: 4.1.0.171 (4.1.0.171)
Syntax
| C# |
|---|
T CreateObject<T>( IFieldCollection fields ) where T : class, new(), ICartellaObject |
| Visual Basic |
|---|
Function CreateObject(Of T As {Class, New, ICartellaObject}) ( _ fields As IFieldCollection _ ) As T |
| Visual C++ |
|---|
generic<typename T> where T : ref class, gcnew(), ICartellaObject T CreateObject( IFieldCollection^ fields ) |
Parameters
- fields
- Type: Cartella.Interfaces..::..IFieldCollection
Fields to feed into the object
Type Parameters
- T
- Type of the object to create