Метод Find
Находит в отчете элемент с заданным уникальным именем.
Пространство имен: 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
Строка, уникально идентифицирующая элемент отчета во всем отчете.
Возвращаемое значение
Тип: Microsoft.ReportingServices.ReportRendering. . :: . .ReportItem
Возвращает объект ReportItem с элементом отчета, который соответствует имени, заданному в параметре uniqueName.
Замечания
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.