Share via


ListViewWebPart.SelectedID property

Gets or sets an identifier (ID) of the selected item.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

value = instance.SelectedID

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

Property value

Type: System.String
The ID of the selected item.

See also

Reference

ListViewWebPart class

ListViewWebPart members

Microsoft.SharePoint.WebPartPages namespace