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< (Of < ( <'T> ) > ) >. . :: . .Contains(T)

示例

脚本撰写