[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Expressions.WorkbookReference

WorkbookReference Class

Represents a reference to an external workbook. This class is immutable.

Inheritance
WorkbookReference
Namespace: GrapeCity.Documents.Excel.Expressions
Assembly: DS.Documents.Excel.dll
Syntax
public sealed class WorkbookReference : IEquatable<WorkbookReference>
Public NotInheritable Class WorkbookReference
    Implements IEquatable(Of WorkbookReference)

Properties

Name Description
BaseDirectory

The base directory that contains workbook. If the value is not null (Nothing), Name is the file name of workbook. If the value is empty, the path is the root directory.

BaseUri

The base uri that contains workbook.
If the value is not null (Nothing), Name is the file name of workbook.
For example, the base uri of https://www.grapecity.com/file/example.xlsx is https://www.grapecity.com/file . The file name is example.xlsx .

Name

The name of the workbook. If the BaseDirectory is not null (Nothing), represents the file name of the workbook.

Methods

Name Description
Equals(WorkbookReference)

Check if the workbook reference equals to another.

Equals(object)

Check if the workbook reference equals to another.

FromFilePath(string)

Creates a workbook reference from file path.

FromName(string)

Creates a workbook reference from workbook name.

FromUri(string)

Creates a workbook reference from a URI link to workbook.

GetHashCode()

Gets hash code of the workbook reference.

ToString()

Converts workbook reference to string.