<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.OnPrintStream Event</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.OnPrintStream Event </h1> </div> </div> <div id="nstext"> <p> Raised from P4PrintStreamEvents before a file is printed. </p> <div class="syntax"> <span class="lang">[VisualBasic]</span> <br />PublicEventOnPrintStreamAs<a href="P4API.OnPrintStreamEventHandler.html">OnPrintStreamEventHandler</a></div> <div class="syntax"> <span class="lang">[C#]</span> <br />publicevent<a href="P4API.OnPrintStreamEventHandler.html">OnPrintStreamEventHandler</a>OnPrintStream;</div> <p> </p> <h4 class="dtH4">Event Data</h4> <p>The event handler receives an argument of type <a href="P4API.P4PrintStreamEventArgs.html">P4PrintStreamEventArgs</a> containing data related to this event. The following <B>P4PrintStreamEventArgs</B> properties provide information specific to this event.</p> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr valign="top"> <th width="50%">Property</th> <th width="50%">Description</th> </tr> <tr VALIGN="top"> <td width="50%"> <a href="P4API.P4PrintStreamEventArgs.Action.html">Action</a> </td> <td width="50%"> Submit action for the file being printed. </td> </tr> <tr VALIGN="top"> <td width="50%"> <a href="P4API.P4PrintStreamEventArgs.Change.html">Change</a> </td> <td width="50%"> The Perforce changelist number for the file being printed. </td> </tr> <tr VALIGN="top"> <td width="50%"> <a href="P4API.P4PrintStreamEventArgs.DepotFile.html">DepotFile</a> </td> <td width="50%"> The Perforce depot path to the file being printed. </td> </tr> <tr VALIGN="top"> <td width="50%"> <a href="P4API.P4PrintStreamEventArgs.FileTime.html">FileTime</a> </td> <td width="50%"> The timestamp of the file being printed. </td> </tr> <tr VALIGN="top"> <td width="50%"> <a href="P4API.P4PrintStreamEventArgs.FileType.html">FileType</a> </td> <td width="50%"> The Perforce file type of the file being printed. </td> </tr> <tr VALIGN="top"> <td width="50%"> <a href="P4API.P4PrintStreamEventArgs.TextEncoding.html">TextEncoding</a> </td> <td width="50%"> Encoding to be used for files with a Perforce type of 'text'. </td> </tr> <tr VALIGN="top"> <td width="50%"> <a href="P4API.P4PrintStreamEventArgs.UnicodeEncoding.html">UnicodeEncoding</a> </td> <td width="50%"> Encoding to be used for files with a Perforce type of 'unicode'. </td> </tr> </table> </div> <h4 class="dtH4">Remarks</h4> <p> Handle this event to initialize a stream that P4API will write to.</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="OnPrintStream event"> </param> <param name="Keyword" value="OnPrintStream event, P4Connection class"> </param> <param name="Keyword" value="P4Connection.OnPrintStream event"> </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/.... |
||
//guest/shawn_hladky/P4.Net/main/doc/html/P4API.P4Connection.OnPrintStream.html | |||||
#1 | 7709 | Shawn Hladky | P4.Net: Cleanup, documentation, and a a start for implementing an object-based output for filelog. |