Méthode NamedComponentCollection.Contains (String)
Determines whether an item with the specific key is in the NamedComponentCollection.
Espace de noms : Microsoft.AnalysisServices
Assembly : Microsoft.AnalysisServices (en Microsoft.AnalysisServices.dll)
Syntaxe
'Déclaration
Public Function Contains ( _
id As String _
) As Boolean
'Utilisation
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
Paramètres
- id
Type : System.String
The identifier to locate in the NamedComponentCollection.
Valeur de retour
Type : System.Boolean
true if the id found in the NamedComponentCollection; otherwise, false.
Implémente
INamedComponentCollection.Contains(String)