다음을 통해 공유


Contains 메서드

Specifies if a URN collection contains a URN.

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

구문

‘선언
Public Function Contains ( _
    urn As Urn _
) As Boolean
‘사용 방법
Dim instance As UrnCollection
Dim urn As Urn
Dim returnValue As Boolean

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

매개 변수

  • urn
    형식: Urn
    Urn

반환 값

형식: System. . :: . .Boolean
Boolean

구현

ICollection< (Of < ( <'T> ) > ) >. . :: . .Contains(T)