Condividi tramite


Metodo NamedComponentCollection.Contains (String)

Determines whether an item with the specific key is in the NamedComponentCollection.

Spazio dei nomi  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Sintassi

'Dichiarazione
Public Function Contains ( _
    id As String _
) As Boolean
'Utilizzo
Dim instance As NamedComponentCollection 
Dim id As String 
Dim returnValue As Boolean 

returnValue = instance.Contains(id)
public bool Contains(
    string id
)
public:
virtual bool Contains(
    String^ id
) sealed
abstract Contains : 
        id:string -> bool  
override Contains : 
        id:string -> bool
public final function Contains(
    id : String
) : boolean

Parametri

Valore restituito

Tipo: System.Boolean
true if the id found in the NamedComponentCollection; otherwise, false.

Implementa

INamedComponentCollection.Contains(String)

Vedere anche

Riferimento

NamedComponentCollection Classe

Overload Contains

Spazio dei nomi Microsoft.AnalysisServices