Share via


MediaFieldValue.AutoPlay Property

Gets or sets whether the media should play automatically once the page has loaded.

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

Syntax

'Declaration
<DataMemberAttribute> _
Public Property AutoPlay As Boolean
    Get
    Set
'Usage
Dim instance As MediaFieldValue
Dim value As Boolean

value = instance.AutoPlay

instance.AutoPlay = value
[DataMemberAttribute]
public bool AutoPlay { get; set; }

Property Value

Type: System.Boolean

See Also

Reference

MediaFieldValue Class

MediaFieldValue Members

Microsoft.SharePoint.Publishing.Fields Namespace