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
itemToDeclare
Type: Microsoft.SharePoint.SPListItemThe item to be declared.
See Also
Reference
Microsoft.Office.RecordsManagement.RecordsRepository Namespace