ConfigurationLockCollection.Contains(String) Method

Definition

验证是否锁定了某个特定的配置对象。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

Parameters

name
String

要验证的配置对象的名称。The name of the configuration object to verify.

Returns

Boolean

如果 ConfigurationLockCollection 包含指定的配置对象,则为 true;否则为 falsetrue if the ConfigurationLockCollection contains the specified configuration object; otherwise, false.

Applies to