共用方式為


EditorFactory.CodePagePrompt Property

Gets and sets flags to prompt user for an encoding on an open with specified codepage.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'宣告
Public Overridable Property CodePagePrompt As __PROMPTONLOADFLAGS
public virtual __PROMPTONLOADFLAGS CodePagePrompt { get; set; }

Property Value

Type: Microsoft.VisualStudio.TextManager.Interop.__PROMPTONLOADFLAGS
A __PROMPTONLOADFLAGS enumeration value.

.NET Framework Security

See Also

Reference

EditorFactory Class

Microsoft.VisualStudio.Package Namespace