SPCache.GetByIndex Method

Returns a List of objects with the specified indexed key-value pairs from the cache with the specified object type.

Namespace:  Microsoft.Office.Server.ObjectCache
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.dll)


Public Function GetByIndex ( _
    objectTypeName As String, _
    propertyName As String, _
    value As String _
) As List(Of SPCachedObject)
Dim instance As SPCache
Dim objectTypeName As String
Dim propertyName As String
Dim value As String
Dim returnValue As List(Of SPCachedObject)

returnValue = instance.GetByIndex(objectTypeName, _
    propertyName, value)
public List<SPCachedObject> GetByIndex(
    string objectTypeName,
    string propertyName,
    string value


Return Value

Type: System.Collections.Generic.List<SPCachedObject>
Returns List<T>.

See Also


SPCache Class

SPCache Members

Microsoft.Office.Server.ObjectCache Namespace