GetAll

FileType.GetAll<T> method

返回所有枚举值。

public static IEnumerable<FileType> GetAll<T>()
    where T : FileType
范围 描述
T 枚举对象类型。

返回值

可枚举的文件类型

也可以看看