Share via


NavigationTermSetItem.LinkType property

Gets the type of link for this NavigationTermSetItem object.

Namespace:  Microsoft.SharePoint.Client.Publishing.Navigation
Assembly:  Microsoft.SharePoint.Client.Publishing (in Microsoft.SharePoint.Client.Publishing.dll)

Syntax

'Declaration
Public Property LinkType As NavigationLinkType
    Get
    Set
'Usage
Dim instance As NavigationTermSetItem
Dim value As NavigationLinkType

value = instance.LinkType

instance.LinkType = value
public NavigationLinkType LinkType { get; set; }

Property value

Type: Microsoft.SharePoint.Client.Publishing.Navigation.NavigationLinkType

Remarks

For a NavigationTerm object, the value will be a friendly URL or a simple link (heading).

For a NavigationTermSet object, the value is always Root.

Certain navigation properties are readable, but not modifiable for some link types. When assigning properties, you must assign the LinkType property before assigning properties such as SimpleLinkUrl or FriendlyUrlSegment.

See also

Reference

NavigationTermSetItem class

NavigationTermSetItem members

Microsoft.SharePoint.Client.Publishing.Navigation namespace