共用方式為


SPControl.PageUri property

Gets or sets the Uniform Resource Identifier (URI) of the page that contains the control.

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

Syntax

'Declaration
Public Property PageUri As Uri
    Get
    Set
'Usage
Dim instance As SPControl
Dim value As Uri

value = instance.PageUri

instance.PageUri = value
public Uri PageUri { get; set; }

Property value

Type: System.Uri
An absolute Uniform Resource Identifier (URI) that specifies the URI.

See also

Reference

SPControl class

SPControl members

Microsoft.SharePoint.WebControls namespace