获取或设置当前网站的 GUID。
命名空间: Microsoft.SharePoint.WebPartPages
程序集: Microsoft.SharePoint(位于 Microsoft.SharePoint.dll 中)
语法
声明
<BrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebPartStorageAttribute(Storage.Shared)> _
Public Property WebId As Guid
Get
Set
用法
Dim instance As BaseXsltListWebPart
Dim value As Guid
value = instance.WebId
instance.WebId = value
[BrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebPartStorageAttribute(Storage.Shared)]
public Guid WebId { get; set; }
属性值
类型:System.Guid
当前网站的 GUID。