Share via


MediaWebPart.Loop Property

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

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

Syntax

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

value = instance.Loop

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

Property Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

MediaWebPart Class

MediaWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace