Condividi tramite


VSConstants.VS_E_INCOMPATIBLEDOCDATA Field

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

Namespace:  Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.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
public const var VS_E_INCOMPATIBLEDOCDATA : int

Field Value

Type: System.Int32

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.

Permissions

See Also

Concepts

SDK Constants

Reference

VSConstants Class

VSConstants Members

Microsoft.VisualStudio Namespace

CreateEditorInstance