Share via


RichImageField.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 RichImageField
Dim value As String

value = instance.DefaultAssetImageLocation

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

Property Value

Type: System.String
Defaults to String.Empty.

Remarks

This URL should begin with either "~SiteCollection/" or "~Site/" followed by the relative URL to the desired Microsoft SharePoint Foundation location. If this URL refers to a valid SharePoint Foundation location and one to which the authoring user has access t, the URL appears in the "Look In" section on the left side of the Asset Picker dialog box when it opens.

See Also

Reference

RichImageField Class

RichImageField Members

Microsoft.SharePoint.Publishing.WebControls Namespace

DefaultAssetLocation

DefaultAssetImageLocation

RichImageField