DTE2.SourceControl 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取一个允许操作对象后的文件源代码管理状态的 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 对象。
实现
- 属性
示例
Sub SourceControlExample()
MsgBox(DTE2.SourceControl.DTE)
End Sub