다음을 통해 공유


Expiration.GetExpirationDateForItem Method

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

Namespace:  Microsoft.Office.RecordsManagement.PolicyFeatures
Assembly:  Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)

Syntax

'Declaration
Public Shared Function GetExpirationDateForItem ( _
    listItem As SPListItem, _
    <OutAttribute> ByRef bCurrentStageRecurs As Boolean _
) As Nullable(Of DateTime)
'Usage
Dim listItem As SPListItem
Dim bCurrentStageRecurs As Boolean
Dim returnValue As Nullable(Of DateTime)

returnValue = Expiration.GetExpirationDateForItem(listItem, _
    bCurrentStageRecurs)
public static Nullable<DateTime> GetExpirationDateForItem(
    SPListItem listItem,
    out bool bCurrentStageRecurs
)

Parameters

  • bCurrentStageRecurs
    Type: System.Boolean

    Determines whether the current stage recurs.

Return Value

Type: System.Nullable<DateTime>
The next expiration date for the specified item.

See Also

Reference

Expiration Class

Expiration Members

Microsoft.Office.RecordsManagement.PolicyFeatures Namespace