共用方式為


Report.Find 方法

Finds the report item in the report with the given unique name.

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

語法

'宣告
Public Function Find ( _
    uniqueName As String _
) As ReportItem
'用途
Dim instance As Report 
Dim uniqueName As String 
Dim returnValue As ReportItem 

returnValue = instance.Find(uniqueName)
public ReportItem Find(
    string uniqueName
)
public:
ReportItem^ Find(
    String^ uniqueName
)
member Find : 
        uniqueName:string -> ReportItem
public function Find(
    uniqueName : String
) : ReportItem

參數

  • uniqueName
    型別:System.String
    A string that uniquely identifies this report item across the entire report.

傳回值

型別:Microsoft.ReportingServices.ReportRendering.ReportItem
Returns a ReportItem containing the report item that matches the name given in the uniqueName parameter.

備註

If the Findmethod calls a subreport, the method operates on the entire report, not just on the subreport.

The unique name parameter can only contain the characters 0-9 and a-z.

請參閱

參考

Report 類別

Microsoft.ReportingServices.ReportRendering 命名空間