Expiration.GetExpirationDateForItem(SPListItem, Boolean) Expiration.GetExpirationDateForItem(SPListItem, Boolean) Expiration.GetExpirationDateForItem(SPListItem, Boolean) Method

Definition

Gets the next expiration date for the specified item, and whether the current stage recurs.

public:
 static Nullable<DateTime> GetExpirationDateForItem(Microsoft::SharePoint::SPListItem ^ listItem, [Runtime::InteropServices::Out] bool % bCurrentStageRecurs);
public static Nullable<DateTime> GetExpirationDateForItem (Microsoft.SharePoint.SPListItem listItem, out bool bCurrentStageRecurs);
Public Shared Function GetExpirationDateForItem (listItem As SPListItem, ByRef bCurrentStageRecurs As Boolean) As Nullable(Of DateTime)
Parameters
listItem
SPListItem SPListItem SPListItem

The list item.

bCurrentStageRecurs
Boolean Boolean Boolean

Determines whether the current stage recurs.

Returns

The next expiration date for the specified item.

Applies to