Export (0) Print
Expand All

WebPart.RegisterInterface method (String, String, Int32, ConnectionRunAt, Object, String, String, String, Boolean)

NOTE: This API is now obsolete.

Namespace:  Microsoft.SharePoint.WebPartPages
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

[ObsoleteAttribute("Use ConnectionProvider or ConnectionConsumer attribute to create ConnectionPoint instead.")]
protected void RegisterInterface(
	string interfaceName,
	string interfaceTypeName,
	int maxConnections,
	ConnectionRunAt runAtOptions,
	Object interfaceObject,
	string interfaceClientReference,
	string menuLabel,
	string description,
	bool allowCrossPageConnection
)

Parameters

interfaceName
Type: System.String
interfaceTypeName
Type: System.String
maxConnections
Type: System.Int32
runAtOptions
Type: Microsoft.SharePoint.WebPartPages.Communication.ConnectionRunAt
interfaceObject
Type: System.Object
interfaceClientReference
Type: System.String
menuLabel
Type: System.String
description
Type: System.String
allowCrossPageConnection
Type: System.Boolean
Show:
© 2015 Microsoft