Xceed Workbooks for .NET v3.0 Documentation
Xceed.Workbooks.NET Assembly / Xceed.Workbooks.NET Namespace / ChartCollection Class / Contains Method
The name of the Chart that should be in the ChartCollection.


In This Topic
    Contains Method (ChartCollection)
    In This Topic
    Checks if a specific Chart is in the ChartCollection.
    Syntax
    'Declaration
     
    
    Public Function Contains( _
       ByVal chartName As String _
    ) As Boolean
    'Usage
     
    
    Dim instance As ChartCollection
    Dim chartName As String
    Dim value As Boolean
     
    value = instance.Contains(chartName)
    public bool Contains( 
       string chartName
    )

    Parameters

    chartName
    The name of the Chart that should be in the ChartCollection.

    Return Value

    Returns true if the Chart is in the ChartCollection; returns false otherwise.
    Requirements

    Target Platforms: Windows 11, Windows 10, 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

    See Also