SPFieldUrlValue.Url Property

Gets or sets the URL for the link.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.Custom, FixedId := "a", Value := "It MUST be an URL of the absolute or server relative form")> _
<ClientCallableConstraintAttribute(Type := ClientCallableConstraintType.MaxLength, Value := )> _
<ClientCallableAttribute> _
Public Property Url As String
    Get
    Set
'Usage
Dim instance As SPFieldUrlValue
Dim value As String

value = instance.Url

instance.Url = value
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.Custom, FixedId = "a", Value = "It MUST be an URL of the absolute or server relative form")]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.MaxLength, Value = )]
[ClientCallableAttribute]
public string Url { get; set; }

Property Value

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

See Also

Reference

SPFieldUrlValue Class

SPFieldUrlValue Members

Microsoft.SharePoint Namespace