mySobek Home   |   Help
Skip Navigation Links.
Expand <a href='https://sobekrepository.org/sobekcm' title='Sobek home page'>Project Home</a>Project Home
Expand <a href='https://sobekrepository.org/help' title='Online user help'>User Help</a>User Help
Expand <a href='https://sobekrepository.org/sobekcm/technical' title='Sobek home page'>Technical Help</a>Technical Help
Expand <a href='https://sobekrepository.org/software' title='Center for downloading all SobekCM-related software'>Download Center</a>Download Center
Training Videos
Collapse <a href='https://sobekrepository.org/codehelp' title='Details on each of the different classes, interfaces, properties, etc..'>Code Details</a>Code Details
MISSING BANNER

Oai_MainWriter.Write_OAI_ListRecords Method



Lists all the records associated with a single OAI-PMH set


Namespace: SobekCM.Library.MainWriters
Assembly: SobekCM_Library (in SobekCM_Library.dll) Version: 4.10.0.0 (4.10.0.0)

Syntax

C#
protected internal void Write_OAI_ListRecords(
	string SetCode,
	DateTime From,
	DateTime Until,
	string ResumptionToken,
	string Request,
	bool HeadersOnly,
	int Current_Page,
	bool More_Records,
	string MetadataPrefix,
	List<OAI_Record> Records,
	TextWriter Output
)

Parameters

SetCode
Type: System..::..String
Code for the OAI-PMH set
From
Type: System..::..DateTime
Date from which to return all the identifiers
Until
Type: System..::..DateTime
Date to which to return all the identifiers
ResumptionToken
Type: System..::..String
Resumption token from the original query string, if one was provided
Request
Type: System..::..String
String that represents the original request
HeadersOnly
Type: System..::..Boolean
Flag indicates to just return the headers of each digital resource
Current_Page
Type: System..::..Int32
Current page number within the set of results
More_Records
Type: System..::..Boolean
Flag indicates if a resumption token should be issued
MetadataPrefix
Type: System..::..String
MetadataPrefix requested
Records
Type: System.Collections.Generic..::..List<(Of <(<'OAI_Record>)>)>
List of all the records to return to the user
Output
Type: System.IO..::..TextWriter
Stream to which to write the text for this main writer

Return Value

Type:
TRUE if successfuly, otherwise FALSE

See Also



Version 4.10.0 ( last generated Monday, March 7, 2016 )