SPItemEventReceiver.ItemFileConverted Method
Handles the asynchronous event that occurs after a file in a document library is converted from one type to another.
Namespace: Microsoft.SharePoint
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
Syntax
'Declaration
Public Overridable Sub ItemFileConverted ( _
properties As SPItemEventProperties _
)
'Usage
Dim instance As SPItemEventReceiver
Dim properties As SPItemEventProperties
instance.ItemFileConverted(properties)
public virtual void ItemFileConverted(
SPItemEventProperties properties
)
Parameters
properties
Type: Microsoft.SharePoint.SPItemEventPropertiesThe properties of the event handler.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | properties is null . |
Remarks
For more information about converting document types, see Document Conversion and Versioning and Converted Documents.