Share via


BaseXsltListWebPart.WebId property

Gets or sets the GUID of the current Web site.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
<WebPartStorageAttribute(Storage.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)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebPartStorageAttribute(Storage.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