SourceFormat

LoadContext.SourceFormat property

Source format: the format the document’s name gives, or the format its content shows when the name gives no known format or names an XML or HTML document. The content is read when this property is first read, so load options that state the format without reading it add no detection.

public FileType SourceFormat { get; }

See Also