<html><head><metahttp-equiv="X-UA-Compatible"content="IE=edge"/><linkrel="shortcut icon"href="../icons/favicon.ico"/><linkrel="stylesheet"type="text/css"href="../styles/branding.css"/><linkrel="stylesheet"type="text/css"href="../styles/branding-en-US.css"/><scripttype="text/javascript"src="../scripts/branding.js"></script><metahttp-equiv="Content-Type"content="text/html; charset=UTF-8"/><title>mpz_tImplicit Conversion (String to mpz_t)</title><metaname="Language"content="en-us"/><metaname="System.Keywords"content="String to mpz_t conversion"/><metaname="Microsoft.Help.F1"content="Math.Gmp.Native.mpz_t.Implicit"/><metaname="Microsoft.Help.Id"content="M:Math.Gmp.Native.mpz_t.op_Implicit(System.String)~Math.Gmp.Native.mpz_t"/><metaname="Description"content="Converts a string value to an mpz_t value."/><metaname="Microsoft.Help.ContentType"content="Reference"/><metaname="BrandingAware"content="true"/><metaname="container"content="Math.Gmp.Native"/><metaname="file"content="d07ddfe6-a0d0-51e7-180c-481fe678fc38"/><metaname="guid"content="d07ddfe6-a0d0-51e7-180c-481fe678fc38"/><linkrel="stylesheet"type="text/css"href="../styles/branding-Website.css"/><scripttype="text/javascript"src="../scripts/jquery-1.11.0.min.js"></script><scripttype="text/javascript"src="../scripts/branding-Website.js"></script><scripttype="text/javascript"src="../scripts/clipboard.min.js"></script></head><bodyonload="OnLoad('cs')"><inputtype="hidden"id="userDataCache"class="userDataStyle"/><divclass="pageHeader"id="PageHeader">GMP Native Interface for .NET<formid="SearchForm"method="get"action="#"onsubmit="javascript:TransferToSearchPage(); return false;"><inputid="SearchTextBox"type="text"maxlength="200"/><buttonid="SearchButton"type="submit"></button></form></div><divclass="pageBody"><divclass="leftNav"id="leftNav"><divid="tocNav"><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm"title="GMP Native Interface for .NET"tocid="roottoc">GMP Native Interface for .NET</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm"title="Math.Gmp.Native"tocid="d9c51b9f-0c54-770b-28ea-6eebd8fef368">Math.Gmp.Native</a></div><divclass="toclevel0"data-toclevel="0"><aclass="tocCollapsed"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm"title="mpz_t Class"tocid="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b">mpz_t Class</a></div><divclass="toclevel1"data-toclevel="1"data-childrenloaded="true"><aclass="tocExpanded"onclick="javascript: Toggle(this);"href="#!"/><adata-tochassubtree="true"href="1cc35e31-9ab0-7239-d05b-1e2a426338bc.htm"title="mpz_t Type Conversions"tocid="1cc35e31-9ab0-7239-d05b-1e2a426338bc">mpz_t Type Conversions</a></div><divclass="toclevel2 current"data-toclevel="2"><adata-tochassubtree="false"href="d07ddfe6-a0d0-51e7-180c-481fe678fc38.htm"title="Implicit Conversion (String to mpz_t)"tocid="d07ddfe6-a0d0-51e7-180c-481fe678fc38">Implicit Conversion (String to mpz_t)</a></div></div><divid="tocResizableEW"onmousedown="OnMouseDown(event);"></div><divid="TocResize"class="tocResize"><imgid="ResizeImageIncrease"src="../icons/TocOpen.gif"onclick="OnIncreaseToc()"alt="Click or drag to resize"title="Click or drag to resize"/><imgid="ResizeImageReset"src="../icons/TocClose.gif"style="display:none"onclick="OnResetToc()"alt="Click or drag to resize"title="Click or drag to resize"/></div></div><divclass="topicContent"id="TopicContent"><tableclass="titleTable"><tr><tdclass="titleColumn">mpz_t<spanid="LST6335D2F3_0"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6335D2F3_0?vb=Widening|nu=Implicit");</script> Conversion (String to mpz_t)</td></tr></table><spanclass="introStyle"><
Converts a <ahref="http://msdn2.microsoft.com/en-us/library/s1wwdcbf"target="_blank">string</a> value to an <ahref="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">mpz_t</a> value.
)</pre></div><divid="ID0EDCA_code_Div4"class="codeSnippetContainerCode"style="display: none"><prexml:space="preserve"><spanclass="message">F# does not support the declaration of new casting operators.</span></pre></div></div></div><scripttype="text/javascript">AddLanguageTabSet("ID0EDCA");</script><h4class="subHeading">Parameters</h4><dl><dt><spanclass="parameter">value</span></dt><dd>Type:<ahref="http://msdn2.microsoft.com/en-us/library/s1wwdcbf"target="_blank">System<spanid="LST6335D2F3_1"></span><scripttype="text/javascript">AddLanguageSpecificTextSet("LST6335D2F3_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>String</a><br/>A <ahref="http://msdn2.microsoft.com/en-us/library/s1wwdcbf"target="_blank">string</a> value.</dd></dl><h4class="subHeading">Return Value</h4>Type:<ahref="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">mpz_t</a><br/>An <ahref="8beda7fb-bbc4-b56f-fd1f-1459377ecb3b.htm">mpz_t</a> value.</div><divclass="collapsibleAreaRegion"><spanclass="collapsibleRegionTitle"onclick="SectionExpandCollapse('ID2RB')"onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)"tabindex="0"><imgid="ID2RBToggle"class="collapseToggle"src="../icons/SectionExpanded.png"/>Remarks</span></div><divid="ID2RBSection"class="collapsibleSection"><p>