共用方式為


LayoutsPageBase.PageTarget Property

Use the PageTargetSecurableObject property instead of this property.

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

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