私は ajax のコピー & ペーストを明示的なエラー報告で締めくくっています。
s として3 つの s を持つ最後Function Returnの s three s。KeyListValue
疑似
Return New Dictionary(Of String, List(Of Object)) From {
{"duplicatePoints", UniqueErrorsReport},
{"inexistentPoints", ExistenceErrorsReport},
{"insertedRows", InsertedRows}
}
2 つはList(Of Object)で、1 つはList(Of Array)です。私は同じことを 2 回行うのが嫌いなので、Structure.
私は賢明に行動し、 a ではなく a を宣言することでList(Of Array)考えList( Of Object())ました。いいえ、少なくとも私がやっている方法ではありません:ArrayObject
Unable to cast object of type 'System.Collections.Generic.List`1[System.Array]'
to type 'System.Collections.Generic.List`1[System.Object]'
非多次元と多次元の両方のStructure単純なコンテナーを同じ:コンテナー内の s として使用することを避けることは可能ですか?ReturnValueKeyValue