ReadOnlyTagHelperAttributeList.ContainsName(String) Method

Definition

Determines whether a TagHelperAttribute with Name matching name exists in the collection.

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

Parameters

name
String

The Name of the TagHelperAttribute to get.

Returns

true if a TagHelperAttribute with the same Name exists in the collection; otherwise, false.

Remarks

name is compared case-insensitively.

Applies to