Share via


SPListEventProperties.FeatureId Property

Gets the unique identifier of the SharePoint feature that created the list.

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

Syntax

'Declaration
Public ReadOnly Property FeatureId As Guid
    Get
'Usage
Dim instance As SPListEventProperties
Dim value As Guid

value = instance.FeatureId
public Guid FeatureId { get; }

Property Value

Type: System.Guid
The Guid value is the ID of a feature if the list event is triggered by the activation of a feature; otherwise the Guid value is Guid.Empty.

See Also

Reference

SPListEventProperties Class

SPListEventProperties Members

Microsoft.SharePoint Namespace