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

‘선언
Function CanModifySource As Integer
‘사용 방법
Dim instance As IVsGlobalsCallback2
Dim returnValue As Integer

returnValue = instance.CanModifySource()
int CanModifySource()
int CanModifySource()
abstract CanModifySource : unit -> int 
function CanModifySource() : int

Return Value

Type: System.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

IVsGlobalsCallback2 Members

Microsoft.VisualStudio.Shell.Interop Namespace