共用方式為


SPMobileComponent.ItemId Property

Gets or sets the ID of object in the Item property.

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

Syntax

'Declaration
Public Overridable Property ItemId As Integer
    Get
    Set
'Usage
Dim instance As SPMobileComponent
Dim value As Integer

value = instance.ItemId

instance.ItemId = value
public virtual int ItemId { get; set; }

Property Value

Type: System.Int32
An Int32 that represents the ID of the SPItem object in the Item property

Remarks

In the default implementation, when SPMobileComponent represents a field or some other entity that is not a list item, ItemId is the ID of the current item. If there is no current item, ItemId is the value of the ItemId property of the parent control.

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace