다음을 통해 공유


Contains 메서드 (String)

Determines whether the collection contains an element that has the specified name.

네임스페이스:  Microsoft.SqlServer.Management.SqlParser.Metadata
어셈블리:  Microsoft.SqlServer.Management.SqlParser(Microsoft.SqlServer.Management.SqlParser.dll)

구문

‘선언
Function Contains ( _
    name As String _
) As Boolean
‘사용 방법
Dim instance As IMetadataCollection
Dim name As String
Dim returnValue As Boolean

returnValue = instance.Contains(name)
bool Contains(
    string name
)
bool Contains(
    String^ name
)
abstract Contains : 
        name:string -> bool 
function Contains(
    name : String
) : boolean

매개 변수

반환 값

유형: System. . :: . .Boolean
true if the collection contains the element; otherwise, false.