共用方式為


LayoutsPageBase.PageTargetSecurableObject Property

Gets or sets the securable object, such as a Web site or list on which the LayoutsPageBase operates.

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

Syntax

'Declaration
Protected Property PageTargetSecurableObject As SPSecurableObject
    Get
    Set
'Usage
Dim value As SPSecurableObject

value = Me.PageTargetSecurableObject

Me.PageTargetSecurableObject = value
protected SPSecurableObject PageTargetSecurableObject { get; set; }

Property Value

Type: Microsoft.SharePoint.SPSecurableObject
The target securable object.

Remarks

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

See Also

Reference

LayoutsPageBase Class

LayoutsPageBase Members

Microsoft.SharePoint.WebControls Namespace