Share via


SPDataSourceView.ListGuid property

Gets the identifier (ID) of the list that is represented in the data view.

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

Syntax

'Declaration
Public ReadOnly Property ListGuid As Guid
    Get
'Usage
Dim instance As SPDataSourceView
Dim value As Guid

value = instance.ListGuid
public Guid ListGuid { get; }

Property value

Type: System.Guid
A System.Guid value. If a single list is available, it is the value of the ID property of the list; otherwise, it is Empty.

See also

Reference

SPDataSourceView class

SPDataSourceView members

Microsoft.SharePoint.WebControls namespace