Public Function GetIndex(Of As {Class, New})( _
ByVal As String _
) As IIndex
Dim instance As NinjaDbPro
Dim indexName As String
Dim value As IIndex
value = instance.GetIndex(Of T)(indexName)
public IIndex GetIndex<>(
string
)
where T: class, new()
public:
IIndex^ GetIndexgeneric<typename >
(
String^
)
where T: ref class, gcnew()
Parameters
- indexName
- The name of the index
Type Parameters
- T
- The type the index is associated with
Return Value
The index or null if not found
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2