다음을 통해 공유


VSConstants.VS_E_UNSUPPORTEDFORMAT Field

CreateEditorInstance returns this value if the document has a format that cannot be opened in the editor.

Namespace:  Microsoft.VisualStudio
Assemblies:   Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)

Syntax

‘선언
Public Const VS_E_UNSUPPORTEDFORMAT As Integer
‘사용 방법
Dim value As Integer

value = VSConstants.VS_E_UNSUPPORTEDFORMAT
public const int VS_E_UNSUPPORTEDFORMAT
public:
literal int VS_E_UNSUPPORTEDFORMAT
static val mutable VS_E_UNSUPPORTEDFORMAT: int
public const var VS_E_UNSUPPORTEDFORMAT : int

Remarks

When looping through CreateEditorInstance to find an appropriate editor to edit a file, if the file is currently open, returning VS_E_UNSUPPORTEDFORMAT will allow the loop to continue without closing the document.

.NET Framework Security

See Also

Reference

VSConstants Class

VSConstants Members

Microsoft.VisualStudio Namespace

CreateEditorInstance

Other Resources

IDE Constants