_DTE.SourceControl Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a SourceControl object that allows you to manipulate the source code control state of the file behind the object.
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
Property Value
A SourceControl object.
- Attributes
Examples
Sub SourceControlExample()
MsgBox(DTE.SourceControl.DTE)
End Sub