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()
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.

Permissions

See Also

Reference

IVsGlobalsCallback2 Interface

IVsGlobalsCallback2 Members

Microsoft.VisualStudio.Shell.Interop Namespace