Compartilhar via


IListWebPart.ListId Property

Gets or sets the globally unique identifier (GUID) of the list associated with the current Web Part.

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

Syntax

'Declaration
Property ListId As Guid
    Get
    Set
'Usage
Dim instance As IListWebPart
Dim value As Guid

value = instance.ListId

instance.ListId = value
Guid ListId { get; set; }

Property Value

Type: System.Guid
A Guid object containing the GUID identifier of the list.

See Also

Reference

IListWebPart Interface

IListWebPart Members

Microsoft.SharePoint.WebPartPages Namespace