ServiceControllerPermissionEntryCollection.Contains 方法

定义

确定此集合是否包含指定的 ServiceControllerPermissionEntry 对象。

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

参数

返回

Boolean

如果指定的 ServiceControllerPermissionEntry 对象属于此集合,则为 true;否则为 false

适用于