共用方式為


DirectoryServicesPermissionEntryCollection.Contains 方法

定義

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

public:
 bool Contains(System::DirectoryServices::DirectoryServicesPermissionEntry ^ value);
public bool Contains (System.DirectoryServices.DirectoryServicesPermissionEntry value);
member this.Contains : System.DirectoryServices.DirectoryServicesPermissionEntry -> bool
Public Function Contains (value As DirectoryServicesPermissionEntry) As Boolean

參數

value
DirectoryServicesPermissionEntry

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

傳回

如果指定的 DirectoryServicesPermissionEntry 物件在這個集合中則為 true,否則為 false

適用於

另請參閱