Creates and stores JSON and/or XML metadata for All metadata, Existing metadata only, or Missing metadata only.
public void GenerateMetadata(
MetadataOptions options,
MetadataScope scope
)
options
Options that determine the type of metadata saved (XML and/or JSON).
scope
An enumeration that specifies if the count is for existing, missing, or all metadata records.
This method iterates through all instances stored in the Instance database table and takes the following actions:
The scope parameter determines if metadata is generated for a DICOM instance, as follows:
If scope is MetadataScope.All, then XML and/or JSON metadata is generated for all instances in the Instance table.
If scope is MetadataScope.Existing, then XML and/or JSON metadata is generated only for existing metadata instances in the corresponding metadata table.
If scope is MetadataScope.Missing, then XML and/or JSON metadata is generated only for instances in the Instance table that do not have corresponding XML and/or JSON metadata.
This method fires the following events:
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document