_DTE.SourceControl Property

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

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

SourceControl SourceControl { get; }

Property Value

Type: EnvDTE.SourceControl
A SourceControl object.

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

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft