Share via


Records.DeclareItemAsRecord method

Declares the specified item as a record.

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

Syntax

'Declaration
Public Shared Sub DeclareItemAsRecord ( _
    itemToDeclare As SPListItem _
)
'Usage
Dim itemToDeclare As SPListItemRecords.DeclareItemAsRecord(itemToDeclare)
public static void DeclareItemAsRecord(
    SPListItem itemToDeclare
)

Parameters

See also

Reference

Records class

Records members

Microsoft.Office.RecordsManagement.RecordsRepository namespace