Aspose::Pdf::FileSpecificationComparer class

FileSpecificationComparer class

Represents a comparator class for a file specification. The comparator compares according to the specification, using the list of fields to sort in the collection definition. According to the specification, sorting is done by collection items values. If there is no collection items dictionary, then sorting is done by Params values.

class FileSpecificationComparer : public System::Collections::Generic::IComparer<System::SharedPtr<Aspose::Pdf::FileSpecification>>

Methods

MethodDescription
Compare(const System::SharedPtr<FileSpecification>&, const System::SharedPtr<FileSpecification>&) const overrideCompares two file specifications according to the collection definition, using the specified sort.
FileSpecificationComparer(System::SharedPtr<CollectionSort>)Creates a file specification comparer.

See Also