LegendCellCollection.Insert メソッド

定義

指定したセルの種類、テキスト、および配置を持つ凡例セルを、指定した位置にあるコレクションに挿入します。

public:
 void Insert(int index, System::Windows::Forms::DataVisualization::Charting::LegendCellType cellType, System::String ^ text, System::Drawing::ContentAlignment alignment);
public void Insert(int index, System.Windows.Forms.DataVisualization.Charting.LegendCellType cellType, string text, System.Drawing.ContentAlignment alignment);
override this.Insert : int * System.Windows.Forms.DataVisualization.Charting.LegendCellType * string * System.Drawing.ContentAlignment -> unit
Public Sub Insert (index As Integer, cellType As LegendCellType, text As String, alignment As ContentAlignment)

パラメーター

index
Int32

オブジェクトを挿入する場所のインデックス。

cellType
LegendCellType

セルの種類を表す LegendCellType 値。

text
String

string パラメーターの値に応じて、セル テキストまたはそのイメージ名を表すcellType値。

alignment
ContentAlignment

凡例セルの内容の配置を表す ContentAlignment 列挙値。

適用対象