다음을 통해 공유


EvaluateHeaderFooterExpressions Delegate

Called by the rendering extension, if necessary, to evaluate the header and footer.

네임스페이스: Microsoft.ReportingServices.ReportRendering
어셈블리: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)

구문

‘선언
Public Delegate Sub EvaluateHeaderFooterExpressions ( _
    pageNumber As Integer, _
    totalPages As Integer, _
    report As Report, _
    pageReportItems As PageReportItems, _
    <OutAttribute> ByRef pageHeader As PageSection, _
    <OutAttribute> ByRef pageFooter As PageSection _
)
public delegate void EvaluateHeaderFooterExpressions (
    int pageNumber,
    int totalPages,
    Report report,
    PageReportItems pageReportItems,
    out PageSection pageHeader,
    out PageSection pageFooter
)
public delegate void EvaluateHeaderFooterExpressions (
    int pageNumber, 
    int totalPages, 
    Report^ report, 
    PageReportItems^ pageReportItems, 
    [OutAttribute] PageSection^% pageHeader, 
    [OutAttribute] PageSection^% pageFooter
)
/** @delegate */
public delegate void EvaluateHeaderFooterExpressions (
    int pageNumber, 
    int totalPages, 
    Report report, 
    PageReportItems pageReportItems, 
    /** @attribute OutAttribute() */ /** @ref */ PageSection pageHeader, 
    /** @attribute OutAttribute() */ /** @ref */ PageSection pageFooter
)
JScript는 대리자의 사용을 지원하지만 새로 선언하는 것은 지원하지 않습니다.

매개 변수

  • pageNumber
    The number of the current page.
  • totalPages
    The total number of pages.
  • report
    The Report object being evaluated.
  • pageReportItems
    A PageReportItems collection containing report items on the page.
  • pageHeader
    The resulting page header, if it needed evaluation. If this is null, check the PageHeader.
  • pageFooter
    The resulting page footer, if it needed evaluation. If this is null, check the PageFooter.

주의

The page header and footer of the report may include aggregates or other information that is dependent on the contents of that page of the report. If the NeedsHeaderFooterEvaluation property of the Report is true, the rendering extension needs to create a PageReportItems object and add all the report items that are completely contained on the page into the collection. The rendering extension then calls the EvaluateHeaderFooterExpressions function, passing in the collection, and the report server returns the new page header and page footer. If the header or footer didn’t need to be evaluated, then they were available directly on the Report object. In the case that the header needs to be evaluated but the footer doesn’t (or vice-versa), the header is available from the result of EvaluateHeaderFooterExpressions, while the footer is available directly in the object model.

All visible items and items that are always hidden in the page should be included in the collection of report items. Conditionally hidden items will not be included if they are currently hidden.

플랫폼

개발 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

대상 플랫폼

지원되는 플랫폼 목록은 SQL Server 2005 설치를 위한 하드웨어 및 소프트웨어 요구 사항을 참조하십시오.

참고 항목

참조

Microsoft.ReportingServices.ReportRendering Namespace