共用方式為


ConfigurationLockCollection.Contains(String) 方法

定義

驗證特定的組態物件是否已鎖定。

public:
 bool Contains(System::String ^ name);
public bool Contains (string name);
member this.Contains : string -> bool
Public Function Contains (name As String) As Boolean

參數

name
String

要驗證的組態物件名稱。

傳回

如果 ConfigurationLockCollection 包含指定的組態物件,則為 true,否則為 false

適用於