共用方式為


SPListEvent.ListID Property

NOTE: This API is now obsolete.

Gets the GUID of the document library in which the event occurred.

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

Syntax

'Declaration
<ObsoleteAttribute("Use V3 style events")> _
Public ReadOnly Property ListID As Guid
    Get
'Usage
Dim instance As SPListEvent
Dim value As Guid

value = instance.ListID
[ObsoleteAttribute("Use V3 style events")]
public Guid ListID { get; }

Property Value

Type: System.Guid
A GUID that specifies the list.

See Also

Reference

SPListEvent Class

SPListEvent Members

Microsoft.SharePoint Namespace