GrapeCity SPREAD for Windows Forms 12.0J
Clone メソッド (SpreadChart)


オブジェクトのコピーを作成して返します。
構文
'Declaration
 
Public Overrides Function Clone() As Object
'使用法
 
Dim instance As SpreadChart
Dim value As Object
 
value = instance.Clone()
public override object Clone()
次のサンプルコードは、Cloneメソッドを使用します。
FarPoint.Win.Spread.Chart.SpreadChart chart1 = new FarPoint.Win.Spread.Chart.SpreadChart();
FarPoint.Win.Spread.Chart.SpreadChart chart2 = (FarPoint.Win.Spread.Chart.SpreadChart)chart1.Clone();
Dim chart1 As New FarPoint.Win.Spread.Chart.SpreadChart()
Dim chart2 As FarPoint.Win.Spread.Chart.SpreadChart = DirectCast(chart1.Clone(), FarPoint.Win.Spread.Chart.SpreadChart)
参照

SpreadChart クラス
SpreadChart メンバ

 

 


Copyright © 2004 GrapeCity inc.