Method ReplaceFrom
- Namespace
- PaintDotNet.FileTypes
- Assembly
- PaintDotNet.FileTypes.dll
ReplaceFrom(IReadOnlyFileTypeMetadataSection)
Replaces the contents of the metadata section with the values from another metadata section of the same Kind.
void ReplaceFrom(IReadOnlyFileTypeMetadataSection source)
Parameters
sourceIReadOnlyFileTypeMetadataSectionThe metadata section to copy from. Its kind must match the kind of the metadata section that this transaction was created from.
Exceptions
- InterfaceNotSupportedException
Thrown if
sourceis not the same kind of metadata section as the one that this transaction was created from.