BaseXsltListWebPart.ViewGuid property

Gets or sets the globally unique identifier (GUID) of the list view that this Web Part displays.

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

[WebPartStorageAttribute(Storage.None)]
public string ViewGuid { get; set; }

Property value

Type: System.String
A string value that is the GUID of the list view.
Show: