共用方式為


SPMobileComponent.ListId Property

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

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

Syntax

'Declaration
Public Overridable Property ListId As Guid
    Get
    Set
'Usage
Dim instance As SPMobileComponent
Dim value As Guid

value = instance.ListId

instance.ListId = value
public virtual Guid ListId { get; set; }

Property Value

Type: System.Guid
An Int32 that represents the ID of the SPList object in the List property.

Remarks

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

See Also

Reference

SPMobileComponent Class

SPMobileComponent Members

Microsoft.SharePoint.MobileControls Namespace