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

See Also

Reference

IVsGlobalsCallback2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace