_DTE.SourceControl Property

Definition

Gets a SourceControl object that allows you to manipulate the source code control state of the file behind the object.

[System.Runtime.InteropServices.DispId(242)]
[get: System.Runtime.InteropServices.DispId(242)]
public EnvDTE.SourceControl SourceControl { get; }
Property Value

Examples

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

Applies to