<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>P4Callback.OutputContent 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">P4Callback.OutputContentMethod</h1> </div> </div> <div id="nstext"> <p> Executed when a command outputs file content. </p> <div class="syntax"> <span class="lang">[VisualBasic]</span> <br />OverridablePublicSubOutputContent( _<br />ByVal <i>buffer</i>As<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemByteClassTopic.htm">Byte()</a>,_<br />ByVal <i>IsText</i>As<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">Boolean</a>_<br />)</div> <div class="syntax"> <span class="lang">[C#]</span> <br />publicvirtual<a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemVoidClassTopic.htm">void</a>OutputContent(<br /><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemByteClassTopic.htm">byte[]</a><i>buffer</i>,<br /><a href="ms-help://MS.NETFrameworkSDKv1.1/cpref/html/frlrfSystemBooleanClassTopic.htm">bool</a><i>IsText</i><br />);</div> <h4 class="dtH4">Parameters</h4> <dl> <dt> <i>buffer</i> </dt> <dd>A buffer containing a chunk of data.</dd> <dt> <i>IsText</i> </dt> <dd>If set to <code>true</code> [is text].</dd> </dl> <h4 class="dtH4">Remarks</h4> <p> OutputContent is typically called from the 'print' command, but can also be called from 'describe', 'diff', or 'diff2'. Output content may be called several times for a single file if it is large. You must orchestrate between calls to OutputMessage and OutputContent to know which file you are working with. If the content is textual, you can use the ContentEncoding property to convert to text. </p> <h4 class="dtH4">See Also</h4> <p> <a href="P4API.P4Callback.html">P4Callback 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="OutputContent method"> </param> <param name="Keyword" value="OutputContent method, P4Callback class"> </param> <param name="Keyword" value="P4Callback.OutputContent 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/.... |
||
//guest/shawn_hladky/P4.Net/main/doc/html/P4API.P4Callback.OutputContent.html | |||||
#1 | 7709 | Shawn Hladky | P4.Net: Cleanup, documentation, and a a start for implementing an object-based output for filelog. |