Report.Find(String) 方法

定義

在報表中尋找具有所指定唯一名稱的報表項目。

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

參數

uniqueName
String

在整個報表中唯一識別這個報表項目的字串。

傳回

ReportItem

傳回 ReportItem,其中包含符合 uniqueName 參數中指定之名稱的報表項目。

備註

如果 Find 方法呼叫子報表,此方法就會在整份報表上運作,而不只是在子報表上操作。

唯一名稱參數只能包含字元0-9 和 a-z。

適用於