ListViewWebPart.ViewGuid Property
Gets or sets the GUID for the SharePoint Foundation view that is used in the Web Part.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
[WebPartStorageAttribute(Storage.None)] [RequiresDesignerPermissionAttribute] public string ViewGuid { get; set; }
Property Value
Type: System.StringA string that contains the GUID of the view with all-uppercase characters and enclosed within curly braces ({ }).