Table of contents
TOC
Collapse the table of content
Expand the table of content

WebExtensions.GetEventReceiverByName Method

SharePoint Dev Documents|Last Updated: 6/19/2017
|
1 Contributor

Returns an event receiver definition

Namespace:Microsoft.SharePoint.Client
Assembly: OfficeDevPnP.Core.dll

Syntax

public static EventReceiverDefinition GetEventReceiverByName(this Web web, String name)

Parameters

web

  Type: Microsoft.SharePoint.Client.Web
  Web to process

name

  Type: System.String
  The name of the receiver

Return Value

Type: EventReceiverDefinition
Returns an EventReceiverDefinition if succeeded. Returns null if failed.

See also

© 2018 Microsoft