Skip to main content

BootstrapClientTagBox.IsCustomTag(text, caseSensitive) Method

Returns a value that indicates if the specified tag (string) is a custom tag.

Declaration

IsCustomTag(
    text: string,
    caseSensitive: boolean
): boolean

Parameters

Name Type Description
text string

A string value that is a tag.

caseSensitive boolean

true, if tags are case sensitive; otherwise, false.

Returns

Type Description
boolean

true, if the tag is not contained in the predefined BootstrapTagBox.Items collection; otherwise, false.

Remarks

Use the IsCustomTag method to determine if the tag specified by the text parameter is not contained in the predefined BootstrapTagBox.Items collection.

See Also