_DTE.SourceControl 属性

定义

获取一个允许操作对象后的文件源代码管理状态的 SourceControl 对象。

public:
 property EnvDTE::SourceControl ^ SourceControl { EnvDTE::SourceControl ^ get(); };
public:
 property EnvDTE::SourceControl ^ SourceControl { EnvDTE::SourceControl ^ get(); };
[System.Runtime.InteropServices.DispId(242)]
public EnvDTE.SourceControl SourceControl { [System.Runtime.InteropServices.DispId(242)] get; }
[<System.Runtime.InteropServices.DispId(242)>]
[<get: System.Runtime.InteropServices.DispId(242)>]
member this.SourceControl : EnvDTE.SourceControl
Public ReadOnly Property SourceControl As SourceControl

属性值

SourceControl

SourceControl 对象。

属性

示例

Sub SourceControlExample()  
  MsgBox(DTE.SourceControl.DTE)  
End Sub  

适用于