Skip to main content

ApiSortFields

Represents the ApiSortFields class.

note

This functionality is available in paid ONLYOFFICE Docs editions.

Properties​

NameTypeDescription
CountnumberReturns the number of sort fields in the collection.
ParentApiSortReturns the parent Sort object.

Methods​

MethodReturnsDescription
AddApiSortField | nullAdds a sort field to the collection.
Add2ApiSortField | nullAdds a sort field with subfield support for linked data types (Stocks, Geography).
ClearNoneRemoves all sort fields from the collection.
GetCountnumberReturns the number of sort fields.
GetParentApiSortReturns the parent Sort object.
ItemApiSortField | nullReturns the sort field at the given 1-based index.