ReportDocument.FilePath Property
Specifies the name of the report file without the protocol prefix.
Namespace CrystalDecisions.CrystalReports.Engine Assembly CrystalDecisions.CrystalReports.Engine (CrystalDecisions.CrystalReports.Engine.dll)
Syntax
'Declaration
Public Overrideable ReadOnly Property FilePath As String
public virtual string FilePath {get;}
Example
This example returns the file path of a report.
'Declaration
Private Function GetReportFilePath(ByVal myReportDocument As ReportDocument) As String
GetReportFilePath = myReportDocument.FilePath
End Function
private string GetReportFilePath(ReportDocument reportDocument)
{
return reportDocument.FilePath;
}
Version Information
Crystal Reports Basic for Visual Studio 2008
Supported since: Crystal Reports for Visual Studio .NET 2002
See Also
Reference
ReportDocument Class
ReportDocument Members
CrystalDecisions.CrystalReports.Engine Namespace