Share via


ListView.ViewId Property

Gets or sets the ID of the list view.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property ViewId As String
    Get
    Set
'Usage
Dim instance As ListView
Dim value As String

value = instance.ViewId

instance.ViewId = value
public string ViewId { get; set; }

Property Value

Type: System.String
A String that represents the ID of the list view.

See Also

Reference

ListView Class

ListView Members

Microsoft.SharePoint.WebControls Namespace