Partilhar via


__VSFORMATINDEX Enum

Definition

Represents file format encodings.

public enum class __VSFORMATINDEX
public enum class __VSFORMATINDEX
enum __VSFORMATINDEX
public enum __VSFORMATINDEX
type __VSFORMATINDEX = 
Public Enum __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