DataFormWebPart.ListId property

Gets or sets the globally unique identifier (GUID) of the SPList associated with the DataFormWebPart.

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

Syntax

'Declaration
<WebBrowsableAttribute(False)> _
<PersonalizableAttribute(PersonalizationScope.Shared)> _
Public Property ListId As Guid
    Get
    Set
'Usage
Dim instance As DataFormWebPart
Dim value As Guid

value = instance.ListId

instance.ListId = value
[WebBrowsableAttribute(false)]
[PersonalizableAttribute(PersonalizationScope.Shared)]
public Guid ListId { get; set; }

Property value

Type: System.Guid
The GUID of the SPList associated with the DataFormWebPart.

Implements

IListWebPart.ListId

Remarks

The Listname() property is set to a string representation of the value to which this property is set.

See also

Reference

DataFormWebPart class

DataFormWebPart members

Microsoft.SharePoint.WebPartPages namespace