IVsSolution2.QueryEditSolutionFile(UInt32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the solution file can be changed.
public:
int QueryEditSolutionFile([Runtime::InteropServices::Out] System::UInt32 % pdwEditResult);
int QueryEditSolutionFile([Runtime::InteropServices::Out] unsigned int & pdwEditResult);
public int QueryEditSolutionFile (out uint pdwEditResult);
abstract member QueryEditSolutionFile : uint32 -> int
Public Function QueryEditSolutionFile (ByRef pdwEditResult As UInteger) As Integer
Parameters
- pdwEditResult
- UInt32
[out] Pointer to QER_EditOK or QER_NoEdit_UserCanceled.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Implements
Remarks
COM Signature
From vsshell.idl:
HRESULT IVsSolution2::QueryEditSolutionFile(
[out] DWORD *pdwEditResult
);
This method is a shortcut for the QueryEditFiles method. Instead of having to build an array of files, call QueryEditSolutionFile and get a result indicating whether you can edit the solution file.