Share via


__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)

Syntax

'Declaration
Public Enumeration __VSFORMATINDEX
'Usage
Dim instance As __VSFORMATINDEX
public enum __VSFORMATINDEX
public enum class __VSFORMATINDEX
public enum __VSFORMATINDEX

Members

Member name Description
VSFORMATINDEX_UTF8 UTF-8
VSFORMATINDEX_MBCS Multi-byte (such as ANSI)
VSFORMATINDEX_UNICODE Unicode

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace