다음을 통해 공유


Contains 메서드

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

네임스페이스:  Microsoft.SqlServer.Management.Smo
어셈블리:  Microsoft.SqlServer.Smo.dll의 Microsoft.SqlServer.Smo

구문

‘선언
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)

예제

스크립팅