Compartilhar via


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)
Available in Sandboxed Solutions: No

Syntax

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

value = instance.ListId

instance.ListId = value
[PersonalizableAttribute(PersonalizationScope.Shared)]
[WebBrowsableAttribute(false)]
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