Share via


MediaFieldValue.DisplayMode Property

Gets or sets the MediaDisplayMode enumeration that represents the display mode in which to start the media player.

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

Syntax

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

value = instance.DisplayMode

instance.DisplayMode = value
[DataMemberAttribute]
public MediaDisplayMode DisplayMode { get; set; }

Property Value

Type: Microsoft.SharePoint.Publishing.WebControls.MediaDisplayMode

See Also

Reference

MediaFieldValue Class

MediaFieldValue Members

Microsoft.SharePoint.Publishing.Fields Namespace