Share via


BaseRichSelector.DefaultAssetImageLocation Property

Gets or sets the URL to a ___location in this site collection that is added to the top of the Look In section of the Asset Picker dialog box when selecting an image source URL.

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

Syntax

'Declaration
<BrowsableAttribute(True)> _
Public Property DefaultAssetImageLocation As String
    Get
    Set
'Usage
Dim instance As BaseRichSelector
Dim value As String

value = instance.DefaultAssetImageLocation

instance.DefaultAssetImageLocation = value
[BrowsableAttribute(true)]
public string DefaultAssetImageLocation { get; set; }

Property Value

Type: System.String
The URL to the ___location. Defaults to an empty string.

Remarks

This URL should begin with either "~SiteCollection/" or "~Site/" followed by the relative URL that points to the specified ___location. If this ___location URL refers to a valid SharePoint Server 2010 ___location and the authoring user has access to it, the URL is displayed in the Look In section in the Asset Picker dialog box.

See Also

Reference

BaseRichSelector Class

BaseRichSelector Members

Microsoft.SharePoint.Publishing.WebControls Namespace

DefaultAssetImageLocation