다음을 통해 공유


WebPart.SiteUrl Property

Gets a SpWeb object by calling the GetContextWeb() method.

Namespace:  Microsoft.Office.Server.WebControls.Charting
Assembly:  Microsoft.Office.Server.Chart (in Microsoft.Office.Server.Chart.dll)

Syntax

'Declaration
Public ReadOnly Property SiteUrl As String
    Get
'Usage
Dim instance As WebPart
Dim value As String

value = instance.SiteUrl
public string SiteUrl { get; }

Property Value

Type: System.String
The String object that represents the Url property, which is the absolute URL for the Web site.

See Also

Reference

WebPart Class

WebPart Members

Microsoft.Office.Server.WebControls.Charting Namespace