Visual Basic (Declaration) | |
---|---|
Public Overloads Function Contains( _ ByVal chart As SpreadChart _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As SpreadChartCollection Dim chart As SpreadChart Dim value As Boolean value = instance.Contains(chart) |
C# | |
---|---|
public bool Contains( SpreadChart chart ) |
Parameters
- chart
- The chart to locate in the chart collection. The value can be null.
Return Value
true
if the chart is found in the chart collection; otherwise, false
.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