Table of Contents

Interface IFileTypeCustomMetadataTransaction

Namespace
PaintDotNet.FileTypes
Assembly
PaintDotNet.FileTypes.dll

Represents a transaction for making atomic changes to the metadata stored within an IFileTypeCustomMetadata.

public interface IFileTypeCustomMetadataTransaction : IFileTypeMetadataSectionTransaction, IFileTypeTransaction, IObjectRef, IIsDisposed, IDisposable, IFileTypePropertyBag, IReadOnlyFileTypePropertyBag, IInternalImpl, IReadOnlyDictionary<string, string>, IReadOnlyCollection<KeyValuePair<string, string>>, IDictionary<string, string>, ICollection<KeyValuePair<string, string>>, IEnumerable<KeyValuePair<string, string>>, IEnumerable
Inherited Members
Extension Methods

Remarks

Custom metadata is stored as key-value pairs through the IFileTypePropertyBag interface. You can use the extension methods to make it easy to read and write values of any type that implements IParsable<TSelf>.

Methods

Clear()

Removes all metadata entries, and/or resets all metadata to their default values.

ReplaceFrom(IReadOnlyFileTypeCustomMetadata)

Replaces all of the custom metadata with the values from another custom metadata section.