Freigeben über


Find-Methode

Sucht im Bericht das Berichtselement mit dem angegebenen eindeutigen Namen.

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

Parameter

  • uniqueName
    Typ: System. . :: . .String
    Eine Zeichenfolge, die dieses Berichtselement im gesamten Bericht eindeutig identifiziert.

Rückgabewert

Typ: Microsoft.ReportingServices.ReportRendering. . :: . .ReportItem
Gibt ein ReportItem-Objekt zurück, der das Berichtselement enthält, das mit dem im uniqueName-Parameter angegebenen Namen übereinstimmt.

Hinweise

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.