VSConstants.VS_E_INCOMPATIBLEDOCDATA Field

A Visual Studio specific error HRESULT for "Incompatible document data".

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_INCOMPATIBLEDOCDATA As Integer
用法
Dim value As Integer

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

Remarks

If the document is open in an incompatible editor CreateEditorInstance should return VS_E_INCOMPATIBLEDOCDATA or E_NOINTERFACE. If the file could not be opened for any other reason it should return an informative HRESULT error code. CreateEditorInstance may be called on various editor factories in a loop while attempting to find an appropriate editor.

.NET Framework Security

See Also

Reference

VSConstants Class

VSConstants Members

Microsoft.VisualStudio Namespace

CreateEditorInstance

Other Resources

IDE Constants