Public Overloads Function Search(Of T As {Class, New})( _ ByVal searchParameters As T, _ ByVal orderBy As String, _ ByVal maxRecords As Integer _ ) As List(Of T)
Dim instance As ObjectCrud Dim searchParameters As T Dim orderBy As String Dim maxRecords As Integer Dim value As List(Of T) value = instance.Search(Of T)(searchParameters, orderBy, maxRecords)
public List<T> Search<T>( T searchParameters, string orderBy, int maxRecords ) where T: class, new()
public: List<T*>* Search<T>( T* searchParameters, string* orderBy, int maxRecords ) where T: ref class, gcnew()
public: List<T^>^ Searchgeneric<typename T> ( T^ searchParameters, String^ orderBy, int maxRecords ) where T: ref class, gcnew()
Parameters
- searchParameters
- What to search for
- orderBy
- Order by clause
- maxRecords
- The maximum records to retrieve
Type Parameters
- T
- Generic class type