title: Read content from file which is in TFS with TFS API C#
body: <p>Maybe is duplicate but I didn't find proper answer.</p>
  
  <p>Is it possible to read content from file which is on TFS before MSBuild is started?</p>
  
  <p>I am using following:</p>
  
  <pre><code> TfsTeamProjectCollection server = new TfsTeamProjectCollection(new Uri("https://hasinc.visualstudio.com/DefaultCollection"));
   VersionControlServer version = server.GetService(typeof(VersionControlServer)) as VersionControlServer;   
   Item item = version.GetItem(@"$\SomeProject\SomeFile.cs");
  </code></pre>
  
  <p>I provided server path and I retrieved correct "item". I can read some properties e.g. content length. But how I can read file?</p>
  
  <p>I need to read content and extract some specific info!</p>
  
  <p>That process happening during TFS build in custom activity method:</p>
  
  <pre><code>protected override void Execute(CodeActivityContext context)
  {
  }
  </code></pre>
  
  <p>Is it possible to achieve that?</p>