Share via


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

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