Records.RegisterCustomCodeForRecordDeclaration(SPSite, String, String) Records.RegisterCustomCodeForRecordDeclaration(SPSite, String, String) Records.RegisterCustomCodeForRecordDeclaration(SPSite, String, String) Method

Definition

Registers a custom record processing handler class to the specified site.

public:
 static void RegisterCustomCodeForRecordDeclaration(Microsoft::SharePoint::SPSite ^ site, System::String ^ assemblyName, System::String ^ className);
public static void RegisterCustomCodeForRecordDeclaration (Microsoft.SharePoint.SPSite site, string assemblyName, string className);
Public Shared Sub RegisterCustomCodeForRecordDeclaration (site As SPSite, assemblyName As String, className As String)
Parameters
site
SPSite SPSite SPSite

The site

assemblyName
String String String

The strong name of the assembly containing the custom record handler class

className
String String String

The fully-qualified class name of the custom record handler

Remarks

Custom record handler class should implement the IrecordDeclarationHandler interface and/or the IRecordUndeclarationHandler interface.

Applies to