共用方式為


Report.GetOrCreateChunk 方法

Gets or creates a report data chunk.

命名空間:  Microsoft.ReportingServices.OnDemandReportRendering
組件:  Microsoft.ReportingServices.ProcessingCore (在 Microsoft.ReportingServices.ProcessingCore.dll 中)

語法

'宣告
Public Function GetOrCreateChunk ( _
    type As Report.ChunkTypes, _
    chunkName As String, _
    <OutAttribute> ByRef isNewChunk As Boolean _
) As Stream
'用途
Dim instance As Report 
Dim type As Report.ChunkTypes 
Dim chunkName As String 
Dim isNewChunk As Boolean 
Dim returnValue As Stream 

returnValue = instance.GetOrCreateChunk(type, _
    chunkName, isNewChunk)
public Stream GetOrCreateChunk(
    Report.ChunkTypes type,
    string chunkName,
    out bool isNewChunk
)
public:
Stream^ GetOrCreateChunk(
    Report.ChunkTypes type, 
    String^ chunkName, 
    [OutAttribute] bool% isNewChunk
)
member GetOrCreateChunk : 
        type:Report.ChunkTypes * 
        chunkName:string * 
        isNewChunk:bool byref -> Stream
public function GetOrCreateChunk(
    type : Report.ChunkTypes, 
    chunkName : String, 
    isNewChunk : boolean
) : Stream

參數

  • chunkName
    型別:System.String
    The name of the report data chunk.
  • isNewChunk
    型別:System.Boolean%
    Whether this is a new data chunk.

傳回值

型別:System.IO.Stream
A Stream object.

請參閱

參考

Report 類別

Microsoft.ReportingServices.OnDemandReportRendering 命名空間