Interaction Workspace 8.0.0 .NET Developer's Guide and API Reference
Duration Property
Namespaces ► Genesyslab.Desktop.Modules.Core.Sounds ► ISong ► Duration
Gets or sets the duration. -1 indicates that the song will play and repeat until explicitly Stop()()(). 0 indicates that the song will play in it entirety one time. > 0 defines a time in milliseconds to play and repeat the song.
Declaration Syntax

C# | Visual Basic | Visual C++

    int Duration { get; set; }

    Property Duration As Integer

    property int Duration {
    	int get ();
    	void set (int value);
    }

Value
The duration.

Assembly: Genesyslab.Desktop.Modules.Core (Module: Genesyslab.Desktop.Modules.Core) Version: 8.0.2.15 (8.0.002.15)