Share via


ReportParameterCollection.Find Method

Gets the ReportParameter that has the specified name from the collection.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Function Find ( _
    name As String _
) As ReportParameter
'Usage
Dim instance As ReportParameterCollection
Dim name As String
Dim returnValue As ReportParameter

returnValue = instance.Find(name)
public ReportParameter Find(
    string name
)
public:
ReportParameter^ Find(
    String^ name
)
member Find : 
        name:string -> ReportParameter 
public function Find(
    name : String
) : ReportParameter

Parameters

Return Value

Type: Microsoft.AnalysisServices.ReportParameter
The ReportParameter if it exists in the collection; otherwise, a null reference (Nothing in Visual Basic).