Export (0) Print
Expand All

Counter Element (View)

Last modified: May 30, 2008

Applies to: SharePoint Foundation 2010

In this article
Attributes
Child Elements
Parent Elements
Occurrences

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


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

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.

Minimum: 0

Maximum: 1

Show:
© 2014 Microsoft