Find 方法

Finds the report item in the report that has 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 that contains the report item that matches the name given in the uniqueName parameter.

注释

If the Find method 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.