Report.Load 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从报告定义加载对象 Report 。
重载
| 名称 | 说明 |
|---|---|
| Load(String) |
从报告定义加载对象 Report 。 |
| Load(Stream) |
从报告定义加载对象 Report 。 |
| Load(Byte[]) |
从报告定义加载对象 Report 。 |
Load(String)
从报告定义加载对象 Report 。
public:
static Microsoft::ReportingServices::RdlObjectModel::Report ^ Load(System::String ^ path);
public static Microsoft.ReportingServices.RdlObjectModel.Report Load(string path);
static member Load : string -> Microsoft.ReportingServices.RdlObjectModel.Report
Public Shared Function Load (path As String) As Report
参数
- path
- String
报告定义文件的绝对路径。
返回
一个装填的 Report 物品。
适用于
Load(Stream)
从报告定义加载对象 Report 。
public:
static Microsoft::ReportingServices::RdlObjectModel::Report ^ Load(System::IO::Stream ^ stream);
public static Microsoft.ReportingServices.RdlObjectModel.Report Load(System.IO.Stream stream);
static member Load : System.IO.Stream -> Microsoft.ReportingServices.RdlObjectModel.Report
Public Shared Function Load (stream As Stream) As Report
参数
- stream
- Stream
包含报告定义的流。
返回
一个装填的 Report 物品。
适用于
Load(Byte[])
从报告定义加载对象 Report 。
public:
static Microsoft::ReportingServices::RdlObjectModel::Report ^ Load(cli::array <System::Byte> ^ bytes);
public static Microsoft.ReportingServices.RdlObjectModel.Report Load(byte[] bytes);
static member Load : byte[] -> Microsoft.ReportingServices.RdlObjectModel.Report
Public Shared Function Load (bytes As Byte()) As Report
参数
- bytes
- Byte[]
报告定义数据。
返回
一个装填的 Report 物品。