FlexReport for WinForms
Insert メソッド (OrderedDictionary<TKey,TValue>)


C1.Report.4.6.2 アセンブリ > C1.Report.Util 名前空間 > OrderedDictionary<TKey,TValue> クラス : Insert メソッド
The zero-based index at which the element should be inserted.
The key of the entry to add.
The value of the entry to add. The value can be if the type of the values in the dictionary is a reference type.
Inserts a new entry into the OrderedDictionary<TKey,TValue> collection with the specified key and value at the specified index.
シンタックス
'宣言
 
Public Sub Insert( _
   ByVal index As System.Integer, _
   ByVal key As TKey, _
   ByVal value As TValue _
) 
'使用法
 
Dim instance As OrderedDictionary(Of TKey,TValue)
Dim index As System.Integer
Dim key As TKey
Dim value As TValue
 
instance.Insert(index, key, value)
public void Insert( 
   System.int index,
   TKey key,
   TValue value
)

パラメータ

index
The zero-based index at which the element should be inserted.
key
The key of the entry to add.
value
The value of the entry to add. The value can be if the type of the values in the dictionary is a reference type.
例外
例外解説
index is less than 0.
-or-
index is greater than OrderedDictionary<TKey,TValue>.Count.
key is .
An element with the same key already exists in the OrderedDictionary<TKey,TValue>.
参照

参照

OrderedDictionary<TKey,TValue> クラス
OrderedDictionary<TKey,TValue> メンバ