Share via


SPViewContext.NeedToRedirect Property

Gets a Boolean value that indicates whether the content type that is associated with the view equals the content type that is associated with the root folder of the view.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public ReadOnly Property NeedToRedirect As Boolean
    Get
'Usage
Dim instance As SPViewContext
Dim value As Boolean

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

Property Value

Type: System.Boolean
true if the content type of the view does not equal the content type of the root folder; otherwise, false.

See Also

Reference

SPViewContext Class

SPViewContext Members

Microsoft.SharePoint Namespace