Click or drag to resize
SniffInfo Properties

The SniffInfo type exposes the following members.

Properties
  NameDescription
Public propertyDetectedEncoding
If the file sniffer detects or guesses which encoding is used in the file, it may communicate this to the other parser components by setting this property.
Public propertyDetectedSourceLanguage
If the file sniffer detects or guesses the source language in the file, it can be communicated to the framework by setting this property.
Public propertyDetectedTargetLanguage
If the file sniffer detects or guesses the target language of a bilingual file, it can be communicated to the framework by setting this property.
Public propertyHasMetaData
True if there are any key/value pairs of metadata in the sniff info
Public propertyIsSupported
The file sniffer sets this property to true in order to indicate that the corresponding file type definition can be used for processing this file.
Public propertyItem

Convenience getter and setter for metadata using indexer syntax.

The getter functionality is equivalent to calling SetMetaData(String, String), the setter functionality is equivalent to GetMetaData(String).

Public propertyMetaData
Iterator for all metadata key/value pairs
Public propertyMetaDataCount
Number of key/value pairs of metadata
Public propertyPersistenceId
The persistence ID associated with an object may be used by implementations during operations such as serialization and de-serialization of the object model.
Public propertySuggestedTargetEncoding
The file sniffer's suggestion on what type of encoding would be suitable when generating a translated version of this file.
Top
See Also
Community
Edit

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