Share via


AssemblyCollection.Contains Method (Assembly)

Indicates whether the collection contains a specified Assembly.

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

Syntax

'Declaration
Public Function Contains ( _
    item As Assembly _
) As Boolean
'Usage
Dim instance As AssemblyCollection
Dim item As [Assembly]
Dim returnValue As Boolean

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

Parameters

Return Value

Type: System.Boolean
true if the Assembly is contained in the collection; otherwise, false.