EditableAspMenuState.SPWebPrefix property
If you want the "Try Link" command to work properly with relative links such as "~site/Pages/MyPage.aspx", this prefix defines the text that should be substituted for "~site/. Example: "https://contoso.com/sites/site1/web1/"
Namespace: Microsoft.SharePoint.Navigation
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property SPWebPrefix As String
Get
Set
'Usage
Dim instance As EditableAspMenuState
Dim value As String
value = instance.SPWebPrefix
instance.SPWebPrefix = value
public string SPWebPrefix { get; set; }
Property value
Type: System.String
Remarks
(to client)