Share via


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)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

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