Share via


SPList.EventSinkData - Propriété

Remarque : cette API est désormais obsolète.

Gets or sets an arbitrary string for use by a Windows SharePoint Services 2.0 event handler for document library events.

Espace de noms :  Microsoft.SharePoint
Assembly :  Microsoft.SharePoint (dans Microsoft.SharePoint.dll)

Syntaxe

'Déclaration
<ObsoleteAttribute("Use V3 style events")> _
Public Property EventSinkData As String
    Get
    Set
'Utilisation
Dim instance As SPList
Dim value As String

value = instance.EventSinkData

instance.EventSinkData = value
[ObsoleteAttribute("Use V3 style events")]
public string EventSinkData { get; set; }

Valeur de propriété

Type : System.String
A string for use by an event handler. This property setting does not affect Windows SharePoint Services 3.0 events.

Remarques

The EventSinkData property only applies to a document library or to a list derived from a document library and contains the data that is specified in the user interface when the event handler is bound to the list. This property returns a NotSupportedException exception if the list is neither a document library nor a list derived from a document library.

For more information about this property and about document library events, seeWalkthrough: Handling Document Library Events.

Voir aussi

Référence

SPList classe

SPList - Membres

Microsoft.SharePoint - Espace de noms