This documentation is archived and is not being maintained.

SourceControl Property

Visual Studio .NET 2003

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

[Visual Basic .NET]
Public ReadOnly Property SourceControl() As SourceControl
[Visual Basic 6]
Property Get SourceControl() As SourceControl
[C++]
HRESULT __stdcall get_SourceControl(
   /* [out, retval] */ SourceControl** retVal
);
[C#]
public SourceControl SourceControl {get;}
[JScript .NET]
public function get SourceControl() : SourceControl

Return Value

Returns a SourceControl Object object.

Example

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

See Also

Applies To: DTE Object

Show: