ClientApplicationWebPartBase.Url property

Gets or sets the URL, as specified in the SharePoint UI, of the application that is hosted in the Web Part.

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

Syntax

'Declaration
<ManagedLinkAttribute> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property Url As String
    Get
    Set
'Usage
Dim instance As ClientApplicationWebPartBase
Dim value As String

value = instance.Url

instance.Url = value
[ManagedLinkAttribute]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public string Url { get; set; }

Property value

Type: System.String
The URL of the application as specified in the UI.

Remarks

The value of this property is not necessarily the effective URL of the application when an External Application Provider (EAP) is enabled. See SourceUrl for more information.

See also

Reference

ClientApplicationWebPartBase class

ClientApplicationWebPartBase members

Microsoft.SharePoint.WebPartPages namespace