Partager via


IVsSolution2.QueryEditSolutionFile Method (UInt32%)

Determines whether the solution file can be changed.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

Syntax

'Déclaration
Function QueryEditSolutionFile ( _
    <OutAttribute> ByRef pdwEditResult As UInteger _
) As Integer
'Utilisation
Dim instance As IVsSolution2
Dim pdwEditResult As UInteger
Dim returnValue As Integer

returnValue = instance.QueryEditSolutionFile(pdwEditResult)
int QueryEditSolutionFile(
    out uint pdwEditResult
)
int QueryEditSolutionFile(
    [OutAttribute] unsigned int% pdwEditResult
)
abstract QueryEditSolutionFile : 
        pdwEditResult:uint32 byref -> int 
function QueryEditSolutionFile(
    pdwEditResult : uint
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsSolution.QueryEditSolutionFile(UInt32%)

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.

.NET Framework Security

See Also

Reference

IVsSolution2 Interface

IVsSolution2 Members

QueryEditSolutionFile Overload

Microsoft.VisualStudio.Shell.Interop Namespace