共用方式為


BaseXsltListWebPart.WebId Property

Gets or sets the GUID of the current Web site.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
<BrowsableAttribute(False)> _
<WebPartStorageAttribute(Storage.Shared)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property WebId As Guid
    Get
    Set
'Usage
Dim instance As BaseXsltListWebPart
Dim value As Guid

value = instance.WebId

instance.WebId = value
[BrowsableAttribute(false)]
[WebPartStorageAttribute(Storage.Shared)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public Guid WebId { get; set; }

Property Value

Type: System.Guid
The GUID of the current Web site.

See Also

Reference

BaseXsltListWebPart Class

BaseXsltListWebPart Members

Microsoft.SharePoint.WebPartPages Namespace