Share via


ListFormWebPart.ListItemId Property

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

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

Syntax

'Declaration
<WebPartStorageAttribute(Storage.Shared)> _
<BrowsableAttribute(False)> _
Public Property ListItemId As Integer
    Get
    Set
'Usage
Dim instance As ListFormWebPart
Dim value As Integer

value = instance.ListItemId

instance.ListItemId = value
[WebPartStorageAttribute(Storage.Shared)]
[BrowsableAttribute(false)]
public int ListItemId { get; set; }

Property Value

Type: System.Int32
An ID of the list item.

Remarks

This property overrides any identifier set by the URL.

See Also

Reference

ListFormWebPart Class

ListFormWebPart Members

Microsoft.SharePoint.WebPartPages Namespace