Site.Url 属性

Gets the full URL to the root Web site of the site collection, including host name, port number, and path.

命名空间:  Microsoft.SharePoint.Client
程序集:   Microsoft.SharePoint.Client.Silverlight(位于 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone(位于 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client(位于 Microsoft.SharePoint.Client.dll 中)

语法

声明
Public ReadOnly Property Url As String
    Get
用法
Dim instance As Site
Dim value As String

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

属性值

类型:System.String
A string that contains the URL.

备注

This property must not end with a leading forward slash (“/”).

另请参阅

引用

Site 类

Site 成员

Microsoft.SharePoint.Client 命名空间