Version

ResetFrames(Int32) Method

Resets the tile frame display sequences so that the frame at the specified ordinal position in the collection is the next one to be displayed.
Syntax
'Declaration
 
Public Overloads Sub ResetFrames( _
   ByVal startAt As Integer _
) 
public void ResetFrames( 
   int startAt
)

Parameters

startAt
The zero-based ordinal position of the frame that will be the next one to be displayed. This value is relative to the current frames collection, i.e., the MediumFrames collection if the tile's current size is 'Medium', or the WideFrames collection if the tile's current size is 'Wide'.
Remarks

The frames collection on which this method acts depends on the value of the associated tile's CurrentSize property.

Specifying a value for the startAt parameter that is less than zero results in an exception being thrown. Specifying a value that is greater than or equal to the count of the current frames collection results in the frame counter being set to zero, i.e., the first frame in the current frames collection becomes the next one to be displayed.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also