MESCIUS SPREAD for Windows Forms 17.0J
Add(String,Style) メソッド

キー文字列を表す<b><see cref="T:System.String">String</see></b>値。
コレクションに追加する項目を表す<b>Style</b>オブジェクト。
StyleCollectionキー文字列と項目の組み合わせをコレクションに追加します。
構文
'Declaration
 
Public Overloads Function Add( _
   ByVal key As String, _
   ByVal style As Style _
) As Integer
public int Add( 
   string key,
   Style style
)

パラメータ

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

戻り値の型

新しく追加された<b>StyleCollection</b>オブジェクトの、 コレクション内のインデックスを表す値。
参照

StyleCollection クラス
StyleCollection メンバ
オーバーロード一覧

 

 


© MESCIUS inc. All rights reserved.