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

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