LookupTableDataSet.LookupTableTreesRow.LookupTablesRow 屬性
代表特定查閱表格,用節點值。
命名空間: WebSvcLookupTable
組件: ProjectServerServices (在 ProjectServerServices.dll 中)
語法
'宣告
Public Property LookupTablesRow As LookupTableDataSet.LookupTablesRow
Get
Set
'用途
Dim instance As LookupTableDataSet.LookupTableTreesRow
Dim value As LookupTableDataSet.LookupTablesRow
value = instance.LookupTablesRow
instance.LookupTablesRow = value
public LookupTableDataSet.LookupTablesRow LookupTablesRow { get; set; }
屬性值
類型:WebSvcLookupTable.LookupTableDataSet.LookupTablesRow
範例
下列程式碼片段有助於顯示LookupTablesRow屬性的意義。若lutUid值是查閱表格的 GUID, LookupTableTrees[6]則是有效的LookupTableTreesRowlutUidFromTreeNode就會取得相同的 GUID 值。LookupTableWS是LookupTable Web 服務參考任意名稱。
. . .
Guid lutUid = new Guid("23bdb945-eacc-4390-af70-f8644683c5bb");
Guid[] lutUids = { lutUid };
LookupTableWS.LookupTableDataSet lut =
lookupTable.ReadLookupTablesByUids(lutUids, false, 1033);
LookupTableWS.LookupTableDataSet.LookupTableTreesRow lutTreesRow
= lut.LookupTableTrees[6];
LookupTableWS.LookupTableDataSet.LookupTablesRow lutRow =
lutTreesRow.LookupTablesRow;
Guid lutUidFromTreeNode = lutRow.LT_UID;
. . .
請參閱
參照
LookupTableDataSet.LookupTableTreesRow 類別