LayoutsPageBase.PageTarget property

Use the PageTargetSecurableObject property instead of this property.

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

Syntax

'Declaration
Protected Property PageTarget As ISecurableObject
    Get
    Set
'Usage
Dim value As ISecurableObject

value = Me.PageTarget

Me.PageTarget = value
protected ISecurableObject PageTarget { get; set; }

Property value

Type: Microsoft.SharePoint.ISecurableObject
The target securable object; for example a Web site or a list.

Remarks

If it is not specifically set to something else, PageTarget returns the object in the Web property.

See also

Reference

LayoutsPageBase class

LayoutsPageBase members

Microsoft.SharePoint.WebControls namespace

PageTargetSecurableObject