共用方式為


vsCMValidateFileExtension Enumeration

Used by the ValidateFile method.

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'宣告
Public Enumeration vsCMValidateFileExtension
public enum vsCMValidateFileExtension
public enum class vsCMValidateFileExtension
type vsCMValidateFileExtension
public enum vsCMValidateFileExtension

Members

Member name Description
vsCMValidateFileExtNone Valid file may have any extension.
vsCMValidateFileExtCpp Valid file has a .cpp or .h extension.
vsCMValidateFileExtCppSource Valid file has a .cpp extension.
vsCMValidateFileExtHtml Valid file has a .html or .htm extension.

See Also

Reference

Microsoft.VisualStudio.VCCodeModel Namespace