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

适用于

另请参阅