Report.Load 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從報告定義載入物件 Report 。
多載
| 名稱 | Description |
|---|---|
| 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 物品。