다음을 통해 공유


MediaWebPart.AutoPlay Property

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

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

Syntax

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

value = instance.AutoPlay

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

Property Value

Type: System.Boolean
Returns Boolean.

See Also

Reference

MediaWebPart Class

MediaWebPart Members

Microsoft.SharePoint.Publishing.WebControls Namespace