Share via


MediaFieldValue.AutoPlay property

Gets or sets a Boolean value that indicates 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
A Boolean value that indicates whether the media should play automatically once the page has loaded

See also

Reference

MediaFieldValue class

MediaFieldValue members

Microsoft.SharePoint.Publishing.Fields namespace