Spread ASP.NET 18
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / FpSpread Class / GetExcelSheetNames Method / GetExcelSheetNames(Stream) Method
Stream that contains an Excel Compound Storage file
Example


In This Topic
    GetExcelSheetNames(Stream) Method
    In This Topic
    Gets an array of sheet names from the specified Excel file from a stream.
    Syntax
    'Declaration
     
    
    Public Overloads Shared Function GetExcelSheetNames( _
       ByVal stream As Stream _
    ) As String()
    'Usage
     
    
    Dim stream As Stream
    Dim value() As String
     
    value = FpSpread.GetExcelSheetNames(stream)
    public static string[] GetExcelSheetNames( 
       Stream stream
    )

    Parameters

    stream
    Stream that contains an Excel Compound Storage file

    Return Value

    String array with names of the sheets in the Excel file
    Example
    This example gets the names of the individual spreadsheets in a workbook of the specified Excel file stream.
    See Also