SPLink.IsToFolder property

Gets a Boolean value that indicates whether the link goes to a folder within the current Web site.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public ReadOnly Property IsToFolder As Boolean
    Get
'Usage
Dim instance As SPLink
Dim value As Boolean

value = instance.IsToFolder
public bool IsToFolder { get; }

Property value

Type: System.Boolean
true if the link goes to a folder within the current Web site; otherwise, false.

Remarks

Only forward links can go to folders; backward links never go from folders.

See also

Reference

SPLink class

SPLink members

Microsoft.SharePoint namespace