Records.DeclareItemAsRecordWithDeclarationDate method

Namespace:  Microsoft.SharePoint.Client.RecordsRepository
Assembly:  Microsoft.Office.Client.Policy (in Microsoft.Office.Client.Policy.dll)

Syntax

'Declaration
Public Shared Sub DeclareItemAsRecordWithDeclarationDate ( _
    context As ClientRuntimeContext, _
    itemToDeclare As ListItem, _
    declarationDate As DateTime _
)
'Usage
Dim context As ClientRuntimeContext
Dim itemToDeclare As ListItem
Dim declarationDate As DateTimeRecords.DeclareItemAsRecordWithDeclarationDate(context, _
    itemToDeclare, declarationDate)
public static void DeclareItemAsRecordWithDeclarationDate(
    ClientRuntimeContext context,
    ListItem itemToDeclare,
    DateTime declarationDate
)

Parameters

See also

Reference

Records class

Records members

Microsoft.SharePoint.Client.RecordsRepository namespace