Visual Basic (Declaration) | |
---|---|
Public Overrides Function Clone() As Object |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SpreadChart Dim value As Object value = instance.Clone() |
C# | |
---|---|
public override object Clone() |
This example uses the Clone method.
C# | Copy Code |
---|---|
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(); |
Visual Basic | Copy Code |
---|---|
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) |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2