Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

VSConstants.VS_E_UNSUPPORTEDFORMAT Field

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

This field is not CLS-compliant.  

Namespace: Microsoft.VisualStudio
Assembly: Microsoft.VisualStudio.Shell (in microsoft.visualstudio.shell.dll)

public const int VS_E_UNSUPPORTEDFORMAT
public static final int VS_E_UNSUPPORTEDFORMAT
public const var VS_E_UNSUPPORTEDFORMAT : int

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.

Community Additions

ADD
Show:
© 2015 Microsoft