共用方式為


Counter Element (View)

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Provides a counter variable whose value increments each time the tag appears within a field or view definition.

<Counter
   Type = "View">
</Counter>

Attributes

Attribute

Description

Type

Optional Text. If Type=”View” is specified, the counter returns a number that increases each time a view is created for the list. This counter can be used, for example, to give unique names to elements on a page, depending on the view definition.

Child Elements

None

Parent Elements

Numerous

Occurrences

Minimum: 0

Maximum: 1