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
'Declaración
Public Const VS_E_INCOMPATIBLEDOCDATA As Integer
'Uso
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
- 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