ISPCache.GetByIndex Method
Returns a list of SPCachedObject objects that match the specified index name-value pairs.
Namespace: Microsoft.Office.Server.ObjectCache
Assembly: Microsoft.Office.Server (in Microsoft.Office.Server.dll)
Syntax
'Declaration
Function GetByIndex ( _
objectTypeName As String, _
propertyName As String, _
value As String _
) As List(Of SPCachedObject)
'Usage
Dim instance As ISPCache
Dim objectTypeName As String
Dim propertyName As String
Dim value As String
Dim returnValue As List(Of SPCachedObject)
returnValue = instance.GetByIndex(objectTypeName, _
propertyName, value)
List<SPCachedObject> GetByIndex(
string objectTypeName,
string propertyName,
string value
)
Parameters
- objectTypeName
Type: System.String
- propertyName
Type: System.String
- value
Type: System.String
Return Value
Type: System.Collections.Generic.List<SPCachedObject>
Returns List<T>.