The requested page is not available for the requested platform. You are viewing the content for Default platform.

FileTypeFilterAttribute.GetExtensions() Method

Returns the list of file extensions associated with the current file type filter.

Namespace: DevExpress.Persistent.Base

Assembly: DevExpress.Persistent.Base.v19.1.dll

Declaration

public List<string> GetExtensions()
Public Function GetExtensions As List(Of String)

Returns

Type Description
List<String>

A List<String> object which specifies file extensions associated with the current file type filter.

Remarks

By default, this method returns a list of strings, sorted using the List<T>.Sort method. To disable this and preserve the initial order of items, set the static DevExpress.ExpressApp.FileAttachments.Win.FileTypeFiltersLogic.AllowSortExtensions property to false. You can initialize this property before the XafApplication.Setup method is called in the Program.cs (Program.vb) file.

See Also