51 lines
2.4 KiB
HTML
51 lines
2.4 KiB
HTML
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
|||
|
<html xmlns="http://www.w3.org/1999/xhtml">
|
|||
|
<!-- Documenting Parse-->
|
|||
|
<head>
|
|||
|
<meta http-equiv="Content-Language" content="en-ca" />
|
|||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|||
|
<link rel="stylesheet" type="text/css" href="../style.css" />
|
|||
|
<title>long::parse Function</title>
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<table width="100%" border="0" cellspacing="0" cellpadding="2" class="NavBar">
|
|||
|
<tr>
|
|||
|
<td class="NavBar-Cell">
|
|||
|
<a href="http://nant.sourceforge.net">
|
|||
|
<b>NAnt</b>
|
|||
|
</a>
|
|||
|
<img alt="->" src="../images/arrow.gif" />
|
|||
|
<a href="../index.html">Help</a>
|
|||
|
<img alt="->" src="../images/arrow.gif" />
|
|||
|
<a href="index.html">Function Reference</a>
|
|||
|
<img alt="->" src="../images/arrow.gif" /> long::parse</td>
|
|||
|
<td class="NavBar-Cell" align="right">
|
|||
|
v0.91</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
<h1>long::parse</h1>
|
|||
|
<p> Converts the specified string representation of a number to its 64-bit signed integer equivalent. </p>
|
|||
|
<h3>Usage</h3>
|
|||
|
<code>long long::parse(<span class="parameter">s</span>)
|
|||
|
</code>
|
|||
|
<p />
|
|||
|
<h3>Parameters</h3>
|
|||
|
<div class="table">
|
|||
|
<table>
|
|||
|
<tr>
|
|||
|
<th>Name</th>
|
|||
|
<th>Type</th>
|
|||
|
<th>Description</th>
|
|||
|
</tr>
|
|||
|
<tr>
|
|||
|
<td>s</td>
|
|||
|
<td>string</td>
|
|||
|
<td>A string containing a number to convert.</td>
|
|||
|
</tr>
|
|||
|
</table>
|
|||
|
</div>
|
|||
|
<h3>Return Value</h3> A 64-bit signed integer equivalent to the number contained in <i>s</i>. <h3>Exceptions</h3>
|
|||
|
The function will fail in any of the following circumstances:
|
|||
|
<div style="margin-left: 40px;"><ul><li><i>s</i> is not of the correct format.</li><li><i>s</i> represents a number less than <code>MinValue</code> or greater than <code>MaxValue</code>.</li></ul></div><h3>Remarks</h3> The <a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpref/html/frlrfSystemGlobalizationNumberFormatInfoClassTopic.asp">NumberFormatInfo</a> for the invariant culture is used to supply formatting information about <i>s</i>. <h3>Requirements</h3><div style="margin-left: 20px;"><b>Assembly:</b> NAnt.Core (0.91.4312.0)
|
|||
|
</div></body>
|
|||
|
</html>
|