DTE2.SourceControl Property

 

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

Namespace:   EnvDTE80
Assembly:  EnvDTE80 (in EnvDTE80.dll)

SourceControl SourceControl { get; }

Property Value

Type: EnvDTE.SourceControl

A SourceControl object.

Sub SourceControlExample()
  MsgBox(DTE2.SourceControl.DTE)
End Sub
Return to top
Show: