Table of Contents

Interface IReadOnlyFileTypeMetadata

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

Provides read-only access to metadata for a IFileTypeDocument or IFileTypeLayer.

public interface IReadOnlyFileTypeMetadata : IObjectRef, IIsDisposed, IDisposable, IInternalImpl, ICloneable
Inherited Members
Extension Methods

Properties

SectionKinds

Gets the kinds of metadata sections that this metadata contains, in a stable order. Pair this with TryGetSection(FileTypeMetadataSectionKind, out IReadOnlyFileTypeMetadataSection?) to enumerate every section generically, without needing to know each section kind ahead of time.

Methods

Clone()

Creates a mutable copy of the metadata.

TryGetSection(FileTypeMetadataSectionKind, out IReadOnlyFileTypeMetadataSection?)

Gets access to a read-only metadata section by its FileTypeMetadataSectionKind.