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
参数
- tableName
类型:System. . :: . .String
表的名称。指定此名称以确定关联的 DbSyncAdapter 对象是否在 DbSyncAdapterCollection 中。
返回值
类型:System. . :: . .Boolean
如果存在 DbSyncAdapter 对象,则为 true;否则为 false。