IRecordDeclarationHandler.OnDeclare Method
Represents the SPListItem object that will be declared a record.
Namespace: Microsoft.Office.RecordsManagement.RecordsRepository
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Function OnDeclare ( _
item As SPListItem _
) As RecordOperationResult
'Usage
Dim instance As IRecordDeclarationHandler
Dim item As SPListItem
Dim returnValue As RecordOperationResult
returnValue = instance.OnDeclare(item)
RecordOperationResult OnDeclare(
SPListItem item
)
Parameters
item
Type: Microsoft.SharePoint.SPListItemT:Microsoft.SharePoint.SPListItem object to declare as a record
Return Value
Type: Microsoft.Office.RecordsManagement.RecordsRepository.RecordOperationResult
Returns RecordOperationResult.
See Also
Reference
IRecordDeclarationHandler Interface
IRecordDeclarationHandler Members
Microsoft.Office.RecordsManagement.RecordsRepository Namespace