Share via


SPOfficialFileHost.GetPropertiesForSubmission method (SPListItem, Boolean, Nullable<Boolean>)

Get the record respository properties for the list item.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Function GetPropertiesForSubmission ( _
    item As SPListItem, _
    bIncludeAuditHistory As Boolean, _
    bUseFieldGuid As Nullable(Of Boolean) _
) As List(Of RecordsRepositoryProperty)
'Usage
Dim instance As SPOfficialFileHost
Dim item As SPListItem
Dim bIncludeAuditHistory As Boolean
Dim bUseFieldGuid As Nullable(Of Boolean)
Dim returnValue As List(Of RecordsRepositoryProperty)

returnValue = instance.GetPropertiesForSubmission(item, _
    bIncludeAuditHistory, bUseFieldGuid)
public List<RecordsRepositoryProperty> GetPropertiesForSubmission(
    SPListItem item,
    bool bIncludeAuditHistory,
    Nullable<bool> bUseFieldGuid
)

Parameters

  • bIncludeAuditHistory
    Type: System.Boolean

    whether to include audit history

  • bUseFieldGuid
    Type: System.Nullable<Boolean>

    there are three modes for property names supported: 1) using guids is ok when routing within a site collection - across site collections, however, this may not work since we cannot count on guids being the same unless content type sync is used 2) using field names is the legacy O12 behavior 3) for null, both the { id, name } are used

Return value

Type: System.Collections.Generic.List<RecordsRepositoryProperty>
the record repository properties

See also

Reference

SPOfficialFileHost class

SPOfficialFileHost members

GetPropertiesForSubmission overload

Microsoft.SharePoint namespace