__VSFORMATINDEX Enumeration

 

Represents file format encodings.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

public enum __VSFORMATINDEX

Member nameDescription
VSFORMATINDEX_MBCS

Multi-byte (such as ANSI)

VSFORMATINDEX_UNICODE

Unicode

VSFORMATINDEX_UTF8

UTF-8

These values are standard File Format types that can be passed as nFormatIndex to the IVsStructuredFileIO implementation of the Environment. Projects and Editors/Designers that implement IPersistFileFormat can use other values for nFormatIndex, but are encouraged to use these VSFORMATINDEX values.

Return to top
Show: