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)

Syntax

'Declaration
<WebPartStorageAttribute(Storage.None)> _
Public Property ViewGuid As String
    Get
    Set
'Usage
Dim instance As BaseXsltListWebPart
Dim value As String

value = instance.ViewGuid

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

Property value

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

See also

Reference

BaseXsltListWebPart class

BaseXsltListWebPart members

Microsoft.SharePoint.WebPartPages namespace