SPUtility.SiteRelativeUrlPrefix Field
The value of this string is ~sitecollection/.
Namespace: Microsoft.SharePoint.Utilities
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.StaticReadonlyField)> _
Public Shared ReadOnly SiteRelativeUrlPrefix As String
'Usage
Dim value As String
value = SPUtility.SiteRelativeUrlPrefix
[SubsetCallableExcludeMemberAttribute(SubsetCallableExcludeMemberType.StaticReadonlyField)]
public static readonly string SiteRelativeUrlPrefix