Поделиться через


Метод NamedComponentCollection.Contains (String)

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

Пространство имен:  Microsoft.AnalysisServices
Сборка:  Microsoft.AnalysisServices (в Microsoft.AnalysisServices.dll)

Синтаксис

'Декларация
Public Function Contains ( _
    id As String _
) As Boolean
'Применение
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

Параметры

Возвращаемое значение

Тип: System.Boolean
true if the id found in the NamedComponentCollection; otherwise, false.

Реализует

INamedComponentCollection.Contains(String)

См. также

Справочник

NamedComponentCollection Класс

Перегрузка Contains

Пространство имен Microsoft.AnalysisServices