IVsGlobalsCallback2.CanModifySource Method
Indicates whether or not you can change the source file corresponding to the globals.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function CanModifySource As Integer
int CanModifySource()
int CanModifySource()
abstract CanModifySource : unit -> int
function CanModifySource() : int
Return Value
Type: Int32
Returns S_OK if the globals file is editable. Otherwise, for example if the file is checked into source control and cannot be checked out, returns S_FALSE.
.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.