Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines if the secondary buffer can be modified.
Namespace: Microsoft.VisualStudio.TextManager.Interop
Assembly: Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
Syntax
'Declaration
Function QueryEditFile As Integer
'Usage
Dim instance As IVsContainedLanguageHost
Dim returnValue As Integer
returnValue = instance.QueryEditFile()
int QueryEditFile()
int QueryEditFile()
function QueryEditFile() : int
Return Value
Type: System.Int32
If the buffer can be modified, returns S_OK; otherwise, returns BUFFER_E_SCC_READONLY.
Remarks
COM Signature
From singlefileeditor.idl:
HRESULT QueryEditFile();
This method is called by the contained language when a change needs to be made to the secondary buffer. The editor typically does not allow changes if the source file is locked for some reason.
.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
IVsContainedLanguageHost Interface