Contains 方法 (String)

在给定表名时确定特定的 DbSyncAdapter 对象是否在集合中。

命名空间:  Microsoft.Synchronization.Data
程序集:  Microsoft.Synchronization.Data(在 Microsoft.Synchronization.Data.dll 中)

语法

声明
Public Function Contains ( _
    tableName As String _
) As Boolean
用法
Dim instance As DbSyncAdapterCollection
Dim tableName As String
Dim returnValue As Boolean

returnValue = instance.Contains(tableName)
public bool Contains(
    string tableName
)
public:
bool Contains(
    String^ tableName
)
member Contains : 
        tableName:string -> bool 
public function Contains(
    tableName : String
) : boolean

参数

返回值

类型:System. . :: . .Boolean
如果存在 DbSyncAdapter 对象,则为 true;否则为 false。

请参阅

参考

DbSyncAdapterCollection类

DbSyncAdapterCollection 成员

Contains 重载

Microsoft.Synchronization.Data 命名空间