EcmDocumentRouter.GetHashtableForRecordsRepositoryProperties Method

Converts a [] array into a standardized Hashtable that can be used to save the file.

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

Syntax

'Declaration
Public Shared Function GetHashtableForRecordsRepositoryProperties ( _
    properties As RecordsRepositoryProperty(), _
    contentTypeName As String _
) As Hashtable
'Usage
Dim properties As RecordsRepositoryProperty()
Dim contentTypeName As String
Dim returnValue As Hashtable

returnValue = EcmDocumentRouter.GetHashtableForRecordsRepositoryProperties(properties, _
    contentTypeName)
public static Hashtable GetHashtableForRecordsRepositoryProperties(
    RecordsRepositoryProperty[] properties,
    string contentTypeName
)

Parameters

  • properties
    Type: []

    A RecordsRepositoryProperty[] array containing properties of a file.

  • contentTypeName
    Type: System.String

    The content type of the file whose properties are enumerated in the properties array

Return Value

Type: System.Collections.Hashtable
Returns Hashtable.

See Also

Reference

EcmDocumentRouter Class

EcmDocumentRouter Members

Microsoft.Office.RecordsManagement.RecordsRepository Namespace