SPCache.GetByIndex 方法
从指定的对象类型高速缓存返回的对象与指定的索引键 / 值对的List 。
命名空间: Microsoft.Office.Server.ObjectCache
程序集: Microsoft.Office.Server(位于 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
)
参数
- objectTypeName
类型:System.String
- propertyName
类型:System.String
- value
类型:System.String
返回值
类型:System.Collections.Generic.List<SPCachedObject>
返回List<T>。