FileFormat.ContentType

FileFormat.ContentType property

Gets file format content type

public FileContentType ContentType { get; }

Examples

var format = FileFormat.MayaBinary;
if (format.ContentType == FileContentType.Binary)
    Console.WriteLine($"{format} is binary format");
else
    Console.WriteLine($"{format} is text-based format");

See Also