Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel.Expressions Namespace / WorkbookReference Class / BaseDirectory Property
In This Topic
    BaseDirectory Property
    In This Topic
    The base directory that contains workbook. If the value is not a null reference (Nothing in Visual Basic) (Nothing), Name is the file name of workbook. If the value is empty, the path is the root directory.
    Syntax
    public System.string BaseDirectory {get;}
    Remarks
    Caution: System.IO.Path.Combine(System.String,System.String) has different strategy for System.String.Empty and a null reference (Nothing in Visual Basic) (Nothing). Check this value with System.String.IsNullOrEmpty(System.String) (or use = Nothing in Visual Basic) before passing it to System.IO.Path.Combine(System.String,System.String).
    See Also