Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets or sets the GUID for the SharePoint Foundation view that is used in the Web Part.
Namespace: Microsoft.SharePoint.WebPartPages
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
<WebPartStorageAttribute(Storage.None)> _
<RequiresDesignerPermissionAttribute> _
Public Property ViewGuid As String
Get
Set
'Usage
Dim instance As ListViewWebPart
Dim value As String
value = instance.ViewGuid
instance.ViewGuid = value
[WebPartStorageAttribute(Storage.None)]
[RequiresDesignerPermissionAttribute]
public string ViewGuid { get; set; }
Property Value
Type: System.String
A string that contains the GUID of the view with all-uppercase characters and enclosed within curly braces ({ }).