Click or drag to resize
IFileTypeInformation Properties

The IFileTypeInformation type exposes the following members.

Properties
  NameDescription
Public propertyDefaultFileExtension
The default file extension to use in a Save As dialog and automatically append to the file name if it does not match the file dialog wildcard expression.
Public propertyDescription
Descriptive text for the file type definition. This is stored in a LocalizableString, which contains either a plain text value or an embedded resource identifier.
Public propertyEnabled
Determines whether the file type is considered as a candidate for processing a file. This allows us to have filters present in the file type manager that won't be used for processing.
Public propertyExpression
This regular expression is applied to the file name to determine if it matches, when the file is about to be opened. This expression is created from the FileDialogWildcardExpression.
Public propertyCode exampleFileDialogWildcardExpression
The wildcard expression shows up with the file type name in File Open dialogs.

This is used both for displaying and for filtering file types in the file dialog.

Public propertyFileTypeDefinition
The framework sets this property for components that are instantiated from a file type definition.
(Inherited from IFileTypeDefinitionAware.)
Public propertyFileTypeDefinitionId
Unique file type definition identifier. The convention is to use the following format: "[Document Type] [Document Type Version] v [File Type Definition version]", where the file type definition version is a four digit version number. Example: "SDL XLIFF 1.0 v 1.0.0.0", for version 1.0.0.0 of the file type definition for the SDL XLIFF file format, version 1.0, or "Microsoft Word 2007 v 1.1.0.0", and so on.
Public propertyFileTypeDocumentName
Friendly name of the type of an individual file of this file type. This is used when referring to a single item, e.g. in a File Save As dialog.
Public propertyFileTypeDocumentsName
Friendly name of a set of files of this file type. This name is used when referring to a collection of files, e.g. in a File Open dialog.
Public propertyFileTypeFrameworkVersion
The version of the File Type Framework the file type definition was designed for.
Public propertyFileTypeName
Friendly name for the file type, which may be shown to the user.

This is the short version of the file type name that is used in settings dialogs, messages etc.

There are two additional versions of the file type name, FileTypeDocumentName and FileTypeDocumentsName, which are used to denote individual documents and sets of documents of this file type (e.g. in File Open and Save As dialogs).

This is stored in a LocalizableString, which contains either a plain text value or an embedded resource identifier.

Public propertyHasMetaData
True if there is any metadata in the container
(Inherited from IMetaDataContainer.)
Public propertyHidden
Determines whether the file type will be displayed in the UI of the host application. If a file type is hidden, then it would normally also be disabled.
Public propertyIcon
The icon representing this particular file type
Public propertyIsBilingualDocumentFileType
True for file types that can be used as intermediate bilingual documents to store all information available in the bilingual content model.
Public propertyMetaData
Enumerator for the metadata key/value pairs.
(Inherited from IMetaDataContainer.)
Public propertyMetaDataCount
The number of meta data key/value pairs in the container
(Inherited from IMetaDataContainer.)
Public propertyRemoved
Determines whether the file type should be removed from the list of File Types shown by a given host e.g. not used by the host - this is different from enabled, where the File Type might still be shown in the list
Public propertySilverlightSettingsPageIds
List of IDs for settings UI pages for this file type, implemented in Silverlight.
Public propertyWinFormSettingsPageIds
List of IDs for settings UI pages for this file type, implemented in Windows Forms.
Top
See Also
Community
Edit

Be the first to Edit the community content of this topic.
Comments