Partager via


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.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)

Syntax

'Déclaration
Public Overridable Property CodePagePrompt As __PROMPTONLOADFLAGS
    Get
    Set
'Utilisation
Dim instance As EditorFactory
Dim value As __PROMPTONLOADFLAGS

value = instance.CodePagePrompt

instance.CodePagePrompt = value
public virtual __PROMPTONLOADFLAGS CodePagePrompt { get; set; }
public:
virtual property __PROMPTONLOADFLAGS CodePagePrompt {
    __PROMPTONLOADFLAGS get ();
    void set (__PROMPTONLOADFLAGS value);
}
abstract CodePagePrompt : __PROMPTONLOADFLAGS with get, set
override CodePagePrompt : __PROMPTONLOADFLAGS with get, set
function get CodePagePrompt () : __PROMPTONLOADFLAGS
function set CodePagePrompt (value : __PROMPTONLOADFLAGS)

Property Value

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

.NET Framework Security

See Also

Reference

EditorFactory Class

EditorFactory Members

Microsoft.VisualStudio.Package Namespace