Report.Find(String) Method

Definition

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

public:
 Microsoft::ReportingServices::ReportRendering::ReportItem ^ Find(System::String ^ uniqueName);
public Microsoft.ReportingServices.ReportRendering.ReportItem Find (string uniqueName);
member this.Find : string -> Microsoft.ReportingServices.ReportRendering.ReportItem
Public Function Find (uniqueName As String) As ReportItem

Parameters

uniqueName
String

A string that uniquely identifies this report item across the entire report.

Returns

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.

Applies to