Report.Find Method
Finds the report item in the report with the given unique name.
Namespace: Microsoft.ReportingServices.ReportRendering
Assembly: Microsoft.ReportingServices.ProcessingCore (in Microsoft.ReportingServices.ProcessingCore.dll)
Syntax
'Declaration
Public Function Find ( _
uniqueName As String _
) As ReportItem
'Usage
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
Parameters
- uniqueName
Type: System.String
A string that uniquely identifies this report item across the entire report.
Return Value
Type: Microsoft.ReportingServices.ReportRendering.ReportItem
Returns a ReportItem containing the report item that matches the name given in the uniqueName parameter.
Remarks
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.