Delen via


VSConstants.VS_E_INCOMPATIBLEDOCDATA Field

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

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Const VS_E_INCOMPATIBLEDOCDATA As Integer
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

Microsoft.VisualStudio Namespace

CreateEditorInstance

Other Resources

IDE Constants