ReadOnlyTagHelperAttributeList.ContainsName(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.