- <html dir="LTR">
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" />
- <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" />
- <title>P4Connection.PrintStream Method (Stream, String)</title>
- <xml>
- </xml>
- <link rel="stylesheet" type="text/css" href="MSDN.css" />
- </head>
- <body id="bodyID" class="dtBODY">
- <div id="nsbanner"> <div id="bannerrow1">
- <table class="bannerparthead" cellspacing="0" id="Table1">
- <tr id="hdr">
- <td class="runninghead">Perforce API for the .Net CLR</td>
- <td class="product"><img alt="P4.Net" src="p4net.GIF" /></td>
- </tr>
- </table>
- </div>
- <div id="TitleRow">
- <h1 class="dtH1">P4Connection.PrintStreamMethod(Stream, String)</h1>
- </div>
- </div>
- <div id="nstext">
- <p> Prints the contents of a Perforce file to a Stream. </p>
- <div class="syntax">
- <span class="lang">[VisualBasic]</span>
- <br />OverloadsPublicSubPrintStream( _<br />ByVal <i>stream</i>As<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemIOStreamClassTopic.htm">Stream</a>,_<br />ByVal <i>depotPath</i>As<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">String</a>_<br />)</div>
- <div class="syntax">
- <span class="lang">[C#]</span>
- <br />public<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemVoidClassTopic.htm">void</a>PrintStream(<br /><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemIOStreamClassTopic.htm">Stream</a><i>stream</i>,<br /><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string</a><i>depotPath</i><br />);</div>
- <h4 class="dtH4">Parameters</h4>
- <dl>
- <dt>
- <i>stream</i>
- </dt>
- <dd>Writable stream to write the contents to.</dd>
- <dt>
- <i>depotPath</i>
- </dt>
- <dd>Perforce path of the file to print.</dd>
- </dl>
- <h4 class="dtH4">Remarks</h4>
- <p> If a file is does not exist, a FileNotFound exception will be thrown (regardless of the ExceptionLevel setting).<br /> Depot Path, Client Path or Local Path can generally be used for the argument depotPath (so long as the argument is valid for the <pre class="code">p4 print</pre> command line.<br /> The stream argument can be any valid stream, so long as it is initialized and writable.<br />
- </p>
- <h4 class="dtH4">See Also</h4>
- <p>
- <a href="P4API.P4Connection.html">P4Connection Class</a> | <a href="P4API.html">P4API Namespace</a> | <a href="P4API.P4Connection.PrintStream_overloads.html">P4Connection.PrintStream Overload List</a></p>
- <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;">
- <param name="Keyword" value="PrintStream method">
- </param>
- <param name="Keyword" value="PrintStream method, P4Connection class">
- </param>
- <param name="Keyword" value="P4Connection.PrintStream method">
- </param>
- </object>
- <hr />
- <div id="footer">
- <p>
- <a href="Copyright.html">Copyright 2006 Shawn Hladky</a>
- </p>
- <p>
- </p>
- </div>
- </div>
- </body>
- </html>
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 19706 | MikeEheler |
Populate //guest/shawn_hladky/P4.Net/... //guest/MikeEheler/P4.Net/.... |
9 years ago | |
//guest/shawn_hladky/P4.Net/main/doc/html/P4API.P4Connection.PrintStream_overload_2.html | |||||
#1 | 7709 | Shawn Hladky | P4.Net: Cleanup, documentation, and a a start for implementing an object-based outpu...t for filelog. « | 15 years ago |