PSDBUtility.SetFromEnumerable<T> 方法
保留給內部使用。
命名空間: Microsoft.Office.Project.Server.Library
組件: Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)
語法
'宣告
Public Shared Function SetFromEnumerable(Of T) ( _
enumerable As IEnumerable(Of T) _
) As IDictionary(Of T, Object)
'用途
Dim enumerable As IEnumerable(Of T)
Dim returnValue As IDictionary(Of T, Object)
returnValue = PSDBUtility.SetFromEnumerable(enumerable)
public static IDictionary<T, Object> SetFromEnumerable<T>(
IEnumerable<T> enumerable
)
參數類型
- T
參數
- enumerable
類型:System.Collections.Generic.IEnumerable<T>
傳回值
類型:System.Collections.Generic.IDictionary<T, Object>
會傳回IDictionary<TKey, TValue>。