共用方式為


ListItemProperty.ListItemID Property

Gets or sets the ID assigned to the list item.

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

Syntax

'Declaration
Public Property ListItemID As String
    Get
    Set
'Usage
Dim instance As ListItemProperty
Dim value As String

value = instance.ListItemID

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

Property Value

Type: System.String
A string that contains the ID.

Remarks

The ListItemID property defaults to the current item if no value is supplied and the ListItemProperty control is on a page that contains a ListFormWebPart control.

See Also

Reference

ListItemProperty Class

ListItemProperty Members

Microsoft.SharePoint.WebControls Namespace