VSConstants.VS_E_INCOMPATIBLEDOCDATA Field

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

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

Syntax

'Declaration
Public Const VS_E_INCOMPATIBLEDOCDATA As Integer
'Usage
Dim value As Integer 

value = VSConstants.VS_E_INCOMPATIBLEDOCDATA
public const int VS_E_INCOMPATIBLEDOCDATA
public:
literal int VS_E_INCOMPATIBLEDOCDATA
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