Share via


ReportParameterCollection.Contains Method (ReportParameter)

Indicates whether the collection contains a specified ReportParameter.

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

Syntax

'Declaration
Public Function Contains ( _
    item As ReportParameter _
) As Boolean
'Usage
Dim instance As ReportParameterCollection
Dim item As ReportParameter
Dim returnValue As Boolean

returnValue = instance.Contains(item)
public bool Contains(
    ReportParameter item
)
public:
bool Contains(
    ReportParameter^ item
)
member Contains : 
        item:ReportParameter -> bool 
public function Contains(
    item : ReportParameter
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the ReportParameter exists in the collection; otherwise, false.