[]
        
(Showing Draft Content)

FarPoint.Web.Spread.FpSpread.GetExcelSheetNames

GetExcelSheetNames Method

GetExcelSheetNames(string)

Gets an array of sheet names from the specified Excel file.

Declaration
public static string[] GetExcelSheetNames(string fileName)
Public Shared Function GetExcelSheetNames(fileName As String) As String()
Parameters
Type Name Description
string fileName

Path and filename of Excel file

Returns
Type Description
string[]

GetExcelSheetNames(string, string)

Gets an array of sheet names from the specified Excel file.

Declaration
public static string[] GetExcelSheetNames(string fileName, string password)
Public Shared Function GetExcelSheetNames(fileName As String, password As String) As String()
Parameters
Type Name Description
string fileName

Path and filename of Excel file

string password

The password

Returns
Type Description
string[]

GetExcelSheetNames(Stream)

Gets an array of sheet names from the specified Excel file from a stream.

Declaration
public static string[] GetExcelSheetNames(Stream stream)
Public Shared Function GetExcelSheetNames(stream As Stream) As String()
Parameters
Type Name Description
Stream stream

Stream that contains an Excel Compound Storage file

Returns
Type Description
string[]

GetExcelSheetNames(Stream, string)

Gets an array of sheet names from the specified Excel file from a stream.

Declaration
public static string[] GetExcelSheetNames(Stream stream, string password)
Public Shared Function GetExcelSheetNames(stream As Stream, password As String) As String()
Parameters
Type Name Description
Stream stream

Stream that contains an Excel Compound Storage file

string password

The password

Returns
Type Description
string[]