共用方式為


Report.AddToCurrentPage 方法

Registers the value of a textbox as being on the current page.

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

語法

'宣告
Public Sub AddToCurrentPage ( _
    textboxDefinitionName As String, _
    textboxInstanceOriginalValue As Object _
)
'用途
Dim instance As Report 
Dim textboxDefinitionName As String 
Dim textboxInstanceOriginalValue As Object

instance.AddToCurrentPage(textboxDefinitionName, _
    textboxInstanceOriginalValue)
public void AddToCurrentPage(
    string textboxDefinitionName,
    Object textboxInstanceOriginalValue
)
public:
void AddToCurrentPage(
    String^ textboxDefinitionName, 
    Object^ textboxInstanceOriginalValue
)
member AddToCurrentPage : 
        textboxDefinitionName:string * 
        textboxInstanceOriginalValue:Object -> unit
public function AddToCurrentPage(
    textboxDefinitionName : String, 
    textboxInstanceOriginalValue : Object
)

參數

  • textboxDefinitionName
    型別:System.String
    The name of the text box in the report definition.
  • textboxInstanceOriginalValue
    型別:System.Object
    The value of the textbox before formatting is applied.

請參閱

參考

Report 類別

Microsoft.ReportingServices.OnDemandReportRendering 命名空間