다음을 통해 공유


SPUtility.GetPageUrlPath Method

Returns the URL to a page in a specified HTTP context.

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

Syntax

'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)> _
Public Shared Function GetPageUrlPath ( _
    context As HttpContext _
) As String
'Usage
Dim context As HttpContext
Dim returnValue As String

returnValue = SPUtility.GetPageUrlPath(context)
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.UnsupportedExternalType)]
public static string GetPageUrlPath(
    HttpContext context
)

Parameters

Return Value

Type: System.String
The URL to the page.

See Also

Reference

SPUtility Class

SPUtility Members

Microsoft.SharePoint.Utilities Namespace