_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)

property SourceControl^ SourceControl {
	SourceControl^ get();
}

Property Value

Type: EnvDTE::SourceControl^

A SourceControl object.

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