共用方式為


IVsGlobalsCallback2.CanModifySource Method

Definition

Indicates whether or not you can change the source file corresponding to the globals.

public:
 int CanModifySource();
public:
 int CanModifySource();
int CanModifySource();
public int CanModifySource ();
abstract member CanModifySource : unit -> int
Public Function CanModifySource () As Integer

Returns

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.

Applies to