NavigationTerm.CategoryImageUrl property
Gets or sets the specified URL of an image that optionally can be displayed by a template page.
Namespace: Microsoft.SharePoint.Client.Publishing.Navigation
Assembly: Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)
Syntax
'Declaration
Public Property CategoryImageUrl As String
Get
Set
'Usage
Dim instance As NavigationTerm
Dim value As String
value = instance.CategoryImageUrl
instance.CategoryImageUrl = value
public string CategoryImageUrl { get; set; }
Property value
Type: System.String
The URL must be in server-relative or absolute format.
Remarks
Tip
This property is used with pages that act as templates by having multiple associated friendly URLs. The specific usage of the image property is determined by the controls of the target page.
The CategoryImageUrl property is only used when the link type is FriendlyUrl(). For other link types, attempting to change this property will cause an InvalidOperationException error to be thrown.