AddSpecialTag Method

Specifies additional information to detail more complex criteria for a Choice filter.

Syntax

AddSpecialTag(ByVal Name as String, ByVal Value as Variant, ByVal Type as dtcSpecialTagType)

Parameters

Name

A String value. The name of the new tag.

Value

The value of the new tag.

Type

An enumerated value. One of dtcSpecialTagSimple or dtcSpecialTagStringList.

If dtcSpecialTagSimple, this method is identical to the AddTag method.

If dtcSpecialTagStringList, the value of the tag in the Choice filter is interpreted as a list of strings delimited by semicolons. If any of the strings in the Choice filter matches the tag value of the choice, the tag matches.

Remarks

Use AddSpecialTag to filter the TargetEnvironment choice provided by Visual InterDev6.0, if you want to match multiple targets. For example, to match both .htm and .asp you could use the following code:

choice.AddSpecialTag("TargetEnvironment", "HTML;ASP", dtcSpecialTagStringList)

Applies to   ChoiceFilter object