共用方式為


Render 方法

Renders a report.

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

語法

'宣告
<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey := "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")> _
Function Render ( _
    report As Report, _
    reportServerParameters As NameValueCollection, _
    deviceInfo As NameValueCollection, _
    clientCapabilities As NameValueCollection, _
    ByRef renderProperties As Hashtable, _
    createAndRegisterStream As CreateAndRegisterStream _
) As Boolean
'用途
Dim instance As IRenderingExtension
Dim report As Report
Dim reportServerParameters As NameValueCollection
Dim deviceInfo As NameValueCollection
Dim clientCapabilities As NameValueCollection
Dim renderProperties As Hashtable
Dim createAndRegisterStream As CreateAndRegisterStream
Dim returnValue As Boolean

returnValue = instance.Render(report, _
    reportServerParameters, deviceInfo, _
    clientCapabilities, renderProperties, _
    createAndRegisterStream)
[StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
bool Render(
    Report report,
    NameValueCollection reportServerParameters,
    NameValueCollection deviceInfo,
    NameValueCollection clientCapabilities,
    ref Hashtable renderProperties,
    CreateAndRegisterStream createAndRegisterStream
)
[StrongNameIdentityPermissionAttribute(SecurityAction::LinkDemand, PublicKey = L"0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")]
bool Render(
    Report^ report, 
    NameValueCollection^ reportServerParameters, 
    NameValueCollection^ deviceInfo, 
    NameValueCollection^ clientCapabilities, 
    Hashtable^% renderProperties, 
    CreateAndRegisterStream^ createAndRegisterStream
)
[<StrongNameIdentityPermissionAttribute(SecurityAction.LinkDemand, PublicKey = "0024000004800000940000000602000000240000525341310004000001000100272736ad6e5f9586bac2d531eabc3acc666c2f8ec879fa94f8f7b0327d2ff2ed523448f83c3d5c5dd2dfc7bc99c5286b2c125117bf5cbe242b9d41750732b2bdffe649c6efb8e5526d526fdd130095ecdb7bf210809c6cdad8824faa9ac0310ac3cba2aa0523567b2dfa7fe250b30facbd62d4ec99b94ac47c7d3b28f1f6e4c8")>]
abstract Render : 
        report:Report * 
        reportServerParameters:NameValueCollection * 
        deviceInfo:NameValueCollection * 
        clientCapabilities:NameValueCollection * 
        renderProperties:Hashtable byref * 
        createAndRegisterStream:CreateAndRegisterStream -> bool 
function Render(
    report : Report, 
    reportServerParameters : NameValueCollection, 
    deviceInfo : NameValueCollection, 
    clientCapabilities : NameValueCollection, 
    renderProperties : Hashtable, 
    createAndRegisterStream : CreateAndRegisterStream
) : boolean

參數

傳回值

型別:System. . :: . .Boolean
true if any property that is added to the report object model is saved into the report intermediate format (RIF); otherwise, false.