다음을 통해 공유


RichHtmlField.DefaultAssetImageLocation Property

Gets or sets the URL to a location in this site collection that will be 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 RichHtmlField
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, the URL is displayed in the Look In section on the left side of the Asset Picker dialog box when it is launched to select an image source URL.

See Also

Reference

RichHtmlField Class

RichHtmlField Members

Microsoft.SharePoint.Publishing.WebControls Namespace

DefaultAssetLocation

DefaultAssetImageLocation

RichHtmlField