Report.GetOrCreateChunk Method

Gets or creates a report data chunk.

Namespace:  Microsoft.ReportingServices.OnDemandReportRendering
Assembly:  Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)

Syntax

'Declaration
Public Function GetOrCreateChunk ( _
    type As Report..::..ChunkTypes, _
    chunkName As String, _
    <OutAttribute> ByRef isNewChunk As Boolean _
) As Stream
'Usage
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

Parameters

  • chunkName
    Type: System.String
    The name of the report data chunk.

Return Value

Type: System.IO.Stream
A Stream object.