ConfigurationLockCollection.Contains(String) 方法

定義

驗證特定的組態物件是否已鎖定。Verifies whether a specific configuration object is locked.

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

要驗證的組態物件名稱。The name of the configuration object to verify.

傳回

如果 ConfigurationLockCollection 包含指定的組態物件,則為 true,否則為 falsetrue if the ConfigurationLockCollection contains the specified configuration object; otherwise, false.

適用於