GitFileUtility.GetFileContentStream Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.TeamFoundation.SourceControl.WebApi.Utilities
Assembly: Microsoft.TeamFoundation.SourceControl.WebApi (in Microsoft.TeamFoundation.SourceControl.WebApi.dll)
Syntax
'Declaration
Public Shared Function GetFileContentStream ( _
context As TeamFoundationRequestContext, _
repository As TfsGitRepository, _
file As ItemModel _
) As Stream
public static Stream GetFileContentStream(
TeamFoundationRequestContext context,
TfsGitRepository repository,
ItemModel file
)
public:
static Stream^ GetFileContentStream(
TeamFoundationRequestContext^ context,
TfsGitRepository^ repository,
ItemModel^ file
)
static member GetFileContentStream :
context:TeamFoundationRequestContext *
repository:TfsGitRepository *
file:ItemModel -> Stream
public static function GetFileContentStream(
context : TeamFoundationRequestContext,
repository : TfsGitRepository,
file : ItemModel
) : Stream
Parameters
- repository
Type: Microsoft.TeamFoundation.Git.Server.TfsGitRepository
- file
Type: ItemModel
Return Value
Type: System.IO.Stream
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.SourceControl.WebApi.Utilities Namespace