PSDBUtility.BuildDictionaryTableIndex Method
Reserved for internal use.
Namespace: Microsoft.Office.Project.Server.Library
Assembly: Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)
Syntax
'Declaration
Public Shared Function BuildDictionaryTableIndex ( _
dt As DataTable, _
keyCol As DataColumn _
) As Dictionary(Of Guid, DataRow)
'Usage
Dim dt As DataTable
Dim keyCol As DataColumn
Dim returnValue As Dictionary(Of Guid, DataRow)
returnValue = PSDBUtility.BuildDictionaryTableIndex(dt, _
keyCol)
public static Dictionary<Guid, DataRow> BuildDictionaryTableIndex(
DataTable dt,
DataColumn keyCol
)
Parameters
- dt
Type: System.Data.DataTable
- keyCol
Type: System.Data.DataColumn
Return Value
Type: System.Collections.Generic.Dictionary<Guid, DataRow>
Returns Dictionary<TKey, TValue>.