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)

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