共用方式為


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

適用於