Compartir a través de


_DTE.SourceControl Property

Definition

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  

Applies to