Поделиться через


Свойство NavigationTerm.CategoryImageUrl

Gets or sets the specified URL of an image that optionally can be displayed by a template page.

Пространство имен:  Microsoft.SharePoint.Publishing.Navigation
Сборка:  Microsoft.SharePoint.Publishing (в Microsoft.SharePoint.Publishing.dll)

Синтаксис

'Декларация
Public MustOverride Property CategoryImageUrl As String
    Get
    Set
'Применение
Dim instance As NavigationTerm
Dim value As String

value = instance.CategoryImageUrl

instance.CategoryImageUrl = value
public abstract string CategoryImageUrl { get; set; }

Значение свойства

Тип: System.String
The URL must be in server-relative or absolute format.
The specified URL of an image that can be displayed by the template page.

Замечания

Совет

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 a InvalidOperationException error to be thrown.

См. также

Справочные материалы

NavigationTerm класс

Элементы NavigationTerm

Пространство имен Microsoft.SharePoint.Publishing.Navigation