SPForm.Url Property
Gets the Web site–relative URL of the form.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public ReadOnly Property Url As String
Get
'Usage
Dim instance As SPForm
Dim value As String
value = instance.Url
public string Url { get; }
Property Value
Type: System.String
A string that contains the Web site–relative URL.