共用方式為


SPSite.MakeFullUrl method

Returns the full URL for the specified server-relative URL.

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

Syntax

'宣告
Public Function MakeFullUrl ( _
    strUrl As String _
) As String
'用途
Dim instance As SPSite
Dim strUrl As String
Dim returnValue As String

returnValue = instance.MakeFullUrl(strUrl)
public string MakeFullUrl(
    string strUrl
)

參數

  • strUrl
    Type: System.String

    A string that specifies the server-relative URL.

傳回值

Type: System.String
A string that contains the full URL.

請參閱

參照

SPSite class

SPSite members

Microsoft.SharePoint namespace