__VSFORMATINDEX Enum

Definition

Represents file format encodings.

C++/CX
public enum class __VSFORMATINDEX
Inheritance
__VSFORMATINDEX

Fields

Name Value Description
VSFORMATINDEX_UTF8 0

UTF-8

VSFORMATINDEX_MBCS 1

Multi-byte (such as ANSI)

VSFORMATINDEX_UNICODE 2

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.

Applies to

Proizvod Verzije
Visual Studio SDK 2015, 2017, 2019, 2022