)</pre></td></tr></table></span></div><h4class="subHeading">Parameters</h4><dlparamName="stream"><dt><spanclass="parameter">stream</span></dt><dd>Type: <ahref="http://msdn2.microsoft.com/en-us/8f86tw9e"target="_blank">System.IO<spanclass="languageSpecificText"><spanclass="cs">.</span><spanclass="vb">.</span><spanclass="cpp">::</span><spanclass="nu">.</span></span>Stream</a><br/>Writable stream to write the contents to.</dd></dl><dlparamName="depotPath"><dt><spanclass="parameter">depotPath</span></dt><dd>Type: <ahref="http://msdn2.microsoft.com/en-us/s1wwdcbf"target="_blank">System<spanclass="languageSpecificText"><spanclass="cs">.</span><spanclass="vb">.</span><spanclass="cpp">::</span><spanclass="nu">.</span></span>String</a><br/>Perforce path of the file to print.</dd></dl></div><h1class="heading"><spanonclick="ExpandCollapse(remarksToggle)"style="cursor:default;"onkeypress="ExpandCollapse_CheckKey(remarksToggle, event)"tabindex="0"><imgid="remarksToggle"onload="OnLoadImage(event)"class="toggle"name="toggleSwitch"src="../icons/collapse_all.gif"/>Remarks</span></h1><divid="remarksSection"class="section"name="collapseableSection"style="">
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 <spanid="cbc_1"x-lang="CSharp"codeLanguage="CSharp"><divclass="highlight-title"><spanclass="highlight-copycode"onkeypress="javascript:CopyColorizedCodeCheckKey(this.parentNode, event);"tabindex="0"onmouseover="CopyCodeChangeIcon(this)"onmouseout="CopyCodeChangeIcon(this)"onclick="javascript:CopyColorizedCode(this.parentNode);"><imgsrc="../icons/CopyCode.gif"style="margin-right:5px;"/>Copy</span>C#</div><divclass="code"><spancodeLanguage="other"><pre>p4 print</pre></span></div></span> command line.<br/>
The stream argument can be any valid stream, so long as it is initialized and writable.<br/></div><h1class="heading"><spanonclick="ExpandCollapse(seeAlsoToggle)"style="cursor:default;"onkeypress="ExpandCollapse_CheckKey(seeAlsoToggle, event)"tabindex="0"><imgid="seeAlsoToggle"onload="OnLoadImage(event)"class="toggle"name="toggleSwitch"src="../icons/collapse_all.gif"/>See Also</span></h1><divid="seeAlsoSection"class="section"name="collapseableSection"style=""><divclass="seeAlsoStyle"><ahref="T_P4API_P4Connection.htm">P4Connection Class</a></div><divclass="seeAlsoStyle"><ahref="Overload_P4API_P4Connection_PrintStream.htm">PrintStream Overload</a></div><divclass="seeAlsoStyle"><ahref="N_P4API.htm">P4API Namespace</a></div></div></div><divid="footer"><divclass="footerLine"><imgwidth="100%"height="3px"src="../icons/footer.gif"title="Footer image"/></div><ANAME="feedback"></A><spanid="fb"class="feedbackcss"style="display: none;"></span>