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
Code Details >> Resource_Object >> Metadata_File_ReaderWriters >> METS_File_ReaderWriter >> Read_Metadata Method >> Read_Metadata (String, SobekCM_Item, Dictionary(String, Object), String)

METS_File_ReaderWriter.Read_Metadata Method (String, SobekCM_Item, Dictionary(String, Object), String)



Reads metadata from an existing metadata file and saves to the provided item/package


Namespace: SobekCM.Resource_Object.Metadata_File_ReaderWriters
Assembly: SobekCM_Resource_Object (in SobekCM_Resource_Object.dll) Version: 4.10.0.0 (4.10.0)

Syntax

C#
public bool Read_Metadata(
	string MetadataFilePathName,
	SobekCM_Item Return_Package,
	Dictionary<string, Object> Options,
	out string Error_Message
)

Parameters

MetadataFilePathName
Type: System..::..String
Path and name of the metadata file to read
Return_Package
Type: SobekCM.Resource_Object..::..SobekCM_Item
Package into which to read the metadata
Options
Type: System.Collections.Generic..::..Dictionary<(Of <(<'String, Object>)>)>
Dictionary of any options which this metadata reader/writer may utilize
Error_Message
Type: System..::..String%
[OUTPUT] Explanation of the error, if an error occurs during reading

Return Value

Type: Boolean
TRUE if successful, otherwise FALSE

Implements

iMetadata_File_ReaderWriter..::..Read_Metadata(String, SobekCM_Item, Dictionary<(Of <<'(String, Object>)>>), String%)

See Also



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