Метод DependencyCollection.Contains

Determines whether the specified DependencyCollectionNode object is a member of the DependencyCollection object.

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

Синтаксис

'Декларация
Public Function Contains ( _
    dependencyCollectionNode As DependencyCollectionNode _
) As Boolean
'Применение
Dim instance As DependencyCollection 
Dim dependencyCollectionNode As DependencyCollectionNode 
Dim returnValue As Boolean 

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

Параметры

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

Тип: System.Boolean
A Boolean value that specifies whether the specified object exists in the DependencyCollection object.If True, it is a member of the collection. Otherwise, False.

Реализует

ICollection<T>.Contains(T)

Примеры

Создание скриптов

См. также

Справочник

DependencyCollection Класс

Пространство имен Microsoft.SqlServer.Management.Smo