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

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