Share via


MediaWebPart.ConfigureFromContext property

This member is reserved for internal use and is not intended to be used directly from your code.

Gets or sets whether the media player must configure media and related properties based on the context of the current SPListItem.

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

Syntax

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

value = instance.ConfigureFromContext

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

Property value

Type: System.Boolean
A Boolean value that indicates whether the media player must configure media and related properties based on the context of the current SPListItem object.

See also

Reference

MediaWebPart class

MediaWebPart members

Microsoft.SharePoint.Publishing.WebControls namespace