2016-08-03 4 views

答えて

0

私はthisのようなものが動作するはずだと思うありがとうございました。これは、返されたinternalIdの結果を実際のテキストタイプに翻訳するためのものです。おそらく別の方法でそれを活用することができます。たぶんこのようなものでルックアップリストを作成することができます(C#):

public Dictionary<string, Dictionary<long, string>> getCustomFieldLists() 
{ 
    return 
     nsService.search(new CustomListSearch()) 
      .recordList.Select(a => (CustomList) a) 
      .ToDictionary(a => a.name, 
       a => a.customValueList.customValue 
        .ToDictionary(b => b.valueId, c => c.value)); 
} 

var valueLookup = getCustomFieldLists()["award area"]; 
関連する問題