Udostępnij za pośrednictwem


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

Syntax

'Declaration
ReadOnly Property SourceControl As SourceControl
'Usage
Dim instance As _DTE 
Dim value As SourceControl 

value = instance.SourceControl
SourceControl SourceControl { get; }
property SourceControl^ SourceControl {
    SourceControl^ get ();
}
function get SourceControl () : SourceControl

Property Value

Type: EnvDTE.SourceControl
A SourceControl object.

Examples

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

.NET Framework Security

See Also

Reference

_DTE Interface

_DTE Members

EnvDTE Namespace