Counter Element (View)
Applies to: SharePoint Foundation 2010
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 |