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
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public Const VS_E_UNSUPPORTEDFORMAT As Integer
public const int VS_E_UNSUPPORTEDFORMAT
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio Namespace