共用方式為


BaseXsltListWebPart.WebId property

取得或設定目前的 Web 站台的 GUID。

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

Syntax

'宣告
<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; }

Property value

Type: System.Guid
目前的 Web 站台的 GUID。

請參閱

參照

BaseXsltListWebPart class

BaseXsltListWebPart members

Microsoft.SharePoint.WebPartPages namespace