MESCIUS SPREAD for Windows Forms 17.0J
Add メソッド (BaseKeyCollection)

キー文字列を表す<b><see cref="T:System.String">String</see></b>値。
コレクションに追加する項目を表す<b><see cref="T:System.Object">Object</see></b>オブジェクト。
指定したキーと値を持つ要素を <see cref="T:GrapeCity.Win.Spread.InputMan.CellType.BaseKeyCollection" /> の最後に追加します。
構文
'Declaration
 
Protected Function Add( _
   ByVal key As String, _
   ByVal value As Object _
) As Integer
protected int Add( 
   string key,
   object value
)

パラメータ

key
キー文字列を表す<b><see cref="T:System.String">String</see></b>値。
value
コレクションに追加する項目を表す<b><see cref="T:System.Object">Object</see></b>オブジェクト。

戻り値の型

新しく追加された<b><see cref="T:System.Object">Object</see></b>オブジェクトの、 コレクション内のインデックスを表す<b><see cref="T:System.Int32">Int32</see></b>値。
参照

BaseKeyCollection クラス
BaseKeyCollection メンバ

 

 


© MESCIUS inc. All rights reserved.