Share via


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)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.Url

instance.Url = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[ManagedLinkAttribute]
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