<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.PrintStreamEvents Method</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.PrintStreamEventsMethod</h1> </div> </div> <div id="nstext"> <p> Runs a print command, and raises events for each file printed. </p> <div class="syntax"> <span class="lang">[VisualBasic]</span> <br />PublicSubPrintStreamEvents( _<br />ParamArray <i>args</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>PrintStreamEvents(<br />params<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemStringClassTopic.htm">string[]</a><i>args</i><br />);</div> <h4 class="dtH4">Parameters</h4> <dl> <dt> <i>args</i> </dt> <dd>Arguments to the <pre class="code">p4 print</pre> command.</dd> </dl> <h4 class="dtH4">Remarks</h4> <p> This method is useful when you need to print several files with a single call to the Perforce server. </p> <h4 class="dtH4">Events</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr valign="top"> <th width="50%">Event Type</th> <th width="50%">Reason</th> </tr> <tr valign="top"> <td width="50%"> <b></b> </td> <td width="50%">OnPrintStream</td> </tr> <tr valign="top"> <td width="50%"> <b></b> </td> <td width="50%">OnPrintEndFile</td> </tr> </table> </div> <h4 class="dtH4">Example</h4> <p> <pre class="code" language="c#"> </pre> </p> <h4 class="dtH4">See Also</h4> <p> <a href="P4API.P4Connection.html">P4Connection Class</a> | <a href="P4API.html">P4API Namespace</a></p> <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"> <param name="Keyword" value="PrintStreamEvents method"> </param> <param name="Keyword" value="PrintStreamEvents method, P4Connection class"> </param> <param name="Keyword" value="P4Connection.PrintStreamEvents 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 | 7889 | Johan Nilsson |
Branch from Shawn Hladky's original P4.Net (main branch). Changed file type for StandardTest.cs and UnicodeTest.cs in order to be able to check them in. |
||
//guest/shawn_hladky/P4.Net/main/doc/html/P4API.P4Connection.PrintStreamEvents.html | |||||
#1 | 7709 | Shawn Hladky | P4.Net: Cleanup, documentation, and a a start for implementing an object-based output for filelog. |