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
参数
- name
类型:System. . :: . .String
The name of the element to locate in the collection.
返回值
类型:System. . :: . .Boolean
true if the collection contains the element; otherwise, false.