Partager via


Méthode Find

Recherche l'élément de rapport dans le rapport avec le nom unique donné.

Espace de noms :  Microsoft.ReportingServices.ReportRendering
Assembly :  Microsoft.ReportingServices.ProcessingCore (en Microsoft.ReportingServices.ProcessingCore.dll)

Syntaxe

'Déclaration
Public Function Find ( _
    uniqueName As String _
) As ReportItem
'Utilisation
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

Paramètres

  • uniqueName
    Type : System. . :: . .String
    Chaîne qui identifie de façon unique cet élément de rapport dans l'intégralité du rapport.

Valeur de retour

Type : Microsoft.ReportingServices.ReportRendering. . :: . .ReportItem
Retourne un objet ReportItem contenant l'élément de rapport qui correspond au nom donné dans le paramètre uniqueName.

Notes

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.