共用方式為


ReplicationCursorCollection.Contains(ReplicationCursor) 方法

定義

判斷指定的 ReplicationCursor 物件是否在這個集合中。

public:
 bool Contains(System::DirectoryServices::ActiveDirectory::ReplicationCursor ^ cursor);
public bool Contains (System.DirectoryServices.ActiveDirectory.ReplicationCursor cursor);
member this.Contains : System.DirectoryServices.ActiveDirectory.ReplicationCursor -> bool
Public Function Contains (cursor As ReplicationCursor) As Boolean

參數

cursor
ReplicationCursor

要在此集合中搜尋的 ReplicationCursor 物件。

傳回

如果 ReplicationCursor 物件在此集合中,則為 true,否則為 false

例外狀況

cursor 參數為 null

適用於

另請參閱