Editar

Compartilhar via


ConfigurationElementCollection.IsElementName(String) Method

Definition

Indicates whether the specified ConfigurationElement exists in the ConfigurationElementCollection.

protected:
 virtual bool IsElementName(System::String ^ elementName);
protected virtual bool IsElementName (string elementName);
abstract member IsElementName : string -> bool
override this.IsElementName : string -> bool
Protected Overridable Function IsElementName (elementName As String) As Boolean

Parameters

elementName
String

The name of the element to verify.

Returns

true if the element exists in the collection; otherwise, false. The default is false.

Remarks

Override the IsElementName method to provide custom behavior.

Applies to