Share via


MediaWebPart.Loop property

Gets or sets whether the media should restart playback automatically upon playing to completion.

Namespace:  Microsoft.SharePoint.Publishing.WebControls
Assembly:  Microsoft.SharePoint.Publishing (in Microsoft.SharePoint.Publishing.dll)

Syntax

'Declaration
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebBrowsableAttribute(False)> _
Public Property Loop As Boolean
    Get
    Set
'Usage
Dim instance As MediaWebPart
Dim value As Boolean

value = instance.Loop

instance.Loop = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
public bool Loop { get; set; }

Property value

Type: System.Boolean
Returns Boolean.

See also

Reference

MediaWebPart class

MediaWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace