Compartilhar via


IVsSolution.QueryEditSolutionFile(UInt32) Method

Definition

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.

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsSolution::QueryEditSolutionFile(  
   [out] DWORD *pdwEditResult  
);  

This method is a shortcut for the QueryEditFiles method. Instead of having to build an array of files, call IVsSolution.QueryEditSolutionFile and get a result indicating whether you can edit the solution file.

Applies to