IExpirationFormula.ComputeExpireDate(SPListItem, XmlNode) IExpirationFormula.ComputeExpireDate(SPListItem, XmlNode) IExpirationFormula.ComputeExpireDate(SPListItem, XmlNode) Method

Definition

The code that determines when an item expires.

public:
 Nullable<DateTime> ComputeExpireDate(Microsoft::SharePoint::SPListItem ^ item, System::Xml::XmlNode ^ parametersData);
public Nullable<DateTime> ComputeExpireDate (Microsoft.SharePoint.SPListItem item, System.Xml.XmlNode parametersData);
Public Function ComputeExpireDate (item As SPListItem, parametersData As XmlNode) As Nullable(Of DateTime)
Parameters
item
SPListItem SPListItem SPListItem

The SPListItem object for which to calculate the expiration date.

parametersData
XmlNode XmlNode XmlNode

The parameters to use in the calculation.

Returns

The expiration date of the item.

Applies to