2017-12-03 23:32:51 +01:00
< html > < head > < meta http-equiv = "X-UA-Compatible" content = "IE=edge" / > < link rel = "shortcut icon" href = "../icons/favicon.ico" / > < link rel = "stylesheet" type = "text/css" href = "../styles/branding.css" / > < link rel = "stylesheet" type = "text/css" href = "../styles/branding-en-US.css" / > < script type = "text/javascript" src = "../scripts/branding.js" > < / script > < meta http-equiv = "Content-Type" content = "text/html; charset=UTF-8" / > < title > char_ptr Structure< / title > < meta name = "Language" content = "en-us" / > < meta name = "System.Keywords" content = "char_ptr structure" / > < meta name = "System.Keywords" content = "Math.Gmp.Native.char_ptr structure" / > < meta name = "System.Keywords" content = "char_ptr structure, about char_ptr structure" / > < meta name = "Microsoft.Help.F1" content = "Math.Gmp.Native.char_ptr" / > < meta name = "Microsoft.Help.Id" content = "T:Math.Gmp.Native.char_ptr" / > < meta name = "Description" content = "Represents a pointer to a string in unmanaged memory." / > < meta name = "Microsoft.Help.ContentType" content = "Reference" / > < meta name = "BrandingAware" content = "true" / > < meta name = "container" content = "Math.Gmp.Native" / > < meta name = "file" content = "06249483-9daf-95f9-32c7-30195550bbcc" / > < meta name = "guid" content = "06249483-9daf-95f9-32c7-30195550bbcc" / > < link rel = "stylesheet" type = "text/css" href = "../styles/branding-Website.css" / > < script type = "text/javascript" src = "../scripts/jquery-1.11.0.min.js" > < / script > < script type = "text/javascript" src = "../scripts/branding-Website.js" > < / script > < script type = "text/javascript" src = "../scripts/clipboard.min.js" > < / script > < / head > < body onload = "OnLoad('cs')" > < input type = "hidden" id = "userDataCache" class = "userDataStyle" / > < div class = "pageHeader" id = "PageHeader" > GMP Native Interface for .NET< form id = "SearchForm" method = "get" action = "#" onsubmit = "javascript:TransferToSearchPage(); return false;" > < input id = "SearchTextBox" type = "text" maxlength = "200" / > < button id = "SearchButton" type = "submit" > < / button > < / form > < / div > < div class = "pageBody" > < div class = "leftNav" id = "leftNav" > < div id = "tocNav" > < div class = "toclevel0" data-toclevel = "0" > < a class = "tocCollapsed" onclick = "javascript: Toggle(this);" href = "#!" / > < a data-tochassubtree = "true" href = "846f5c8a-6cba-433e-9f18-cde2ff5695cd.htm" title = "GMP Native Interface for .NET" tocid = "roottoc" > GMP Native Interface for .NET< / a > < / div > < div class = "toclevel0" data-toclevel = "0" > < a class = "tocCollapsed" onclick = "javascript: Toggle(this);" href = "#!" / > < a data-tochassubtree = "true" href = "d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" title = "Math.Gmp.Native" tocid = "d9c51b9f-0c54-770b-28ea-6eebd8fef368" > Math.Gmp.Native< / a > < / div > < div class = "toclevel1 current" data-toclevel = "1" data-childrenloaded = "true" > < a class = "tocExpanded" onclick = "javascript: Toggle(this);" href = "#!" / > < a data-tochassubtree = "true" href = "06249483-9daf-95f9-32c7-30195550bbcc.htm" title = "char_ptr Structure" tocid = "06249483-9daf-95f9-32c7-30195550bbcc" > char_ptr Structure< / a > < / div > < div class = "toclevel2" data-toclevel = "2" > < a class = "tocCollapsed" onclick = "javascript: Toggle(this);" href = "#!" / > < a data-tochassubtree = "true" href = "9006f054-e796-6460-45df-47d6ab808697.htm" title = "char_ptr Constructor " tocid = "9006f054-e796-6460-45df-47d6ab808697" > char_ptr Constructor < / a > < / div > < div class = "toclevel2" data-toclevel = "2" > < a class = "tocCollapsed" onclick = "javascript: Toggle(this);" href = "#!" / > < a data-tochassubtree = "true" href = "73876566-4eec-b421-e4d6-3593e9641f0a.htm" title = "char_ptr Methods" tocid = "73876566-4eec-b421-e4d6-3593e9641f0a" > char_ptr Methods< / a > < / div > < div class = "toclevel2" data-toclevel = "2" > < a class = "tocCollapsed" onclick = "javascript: Toggle(this);" href = "#!" / > < a data-tochassubtree = "true" href = "84b523e8-bc53-01e9-49af-f7996af73647.htm" title = "char_ptr Operators" tocid = "84b523e8-bc53-01e9-49af-f7996af73647" > char_ptr Operators< / a > < / div > < div class = "toclevel2" data-toclevel = "2" > < a class = "tocCollapsed" onclick = "javascript: Toggle(this);" href = "#!" / > < a data-tochassubtree = "true" href = "b32f2955-fb82-d5d4-3b3d-7dcd95a5d305.htm" title = "char_ptr Fields" tocid = "b32f2955-fb82-d5d4-3b3d-7dcd95a5d305" > char_ptr Fields< / a > < / div > < / div > < div id = "tocResizableEW" onmousedown = "OnM
2017-11-04 16:02:37 +01:00
Represents a pointer to a string in unmanaged memory.
< / div > < p > < / p >
< strong > Namespace:< / strong >
< a href = "d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" > Math.Gmp.Native< / a > < br / >
< strong > Assembly:< / strong >
Math.Gmp.Native (in Math.Gmp.Native.dll) Version: 1.0.0.0 (1.0.0.0)< div class = "collapsibleAreaRegion" > < span class = "collapsibleRegionTitle" onclick = "SectionExpandCollapse('ID1RB')" onkeypress = "SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex = "0" > < img id = "ID1RBToggle" class = "collapseToggle" src = "../icons/SectionExpanded.png" / > Syntax< / span > < / div > < div id = "ID1RBSection" class = "collapsibleSection" > < div class = "codeSnippetContainer" > < div class = "codeSnippetContainerTabs" > < div id = "ID0EDCA_tab1" class = "codeSnippetContainerTab" > < a href = "#" onclick = "javascript:ChangeTab('ID0EDCA','cs','1','4');return false;" > C#< / a > < / div > < div id = "ID0EDCA_tab2" class = "codeSnippetContainerTab" > < a href = "#" onclick = "javascript:ChangeTab('ID0EDCA','vb','2','4');return false;" > VB< / a > < / div > < div id = "ID0EDCA_tab3" class = "codeSnippetContainerTab" > < a href = "#" onclick = "javascript:ChangeTab('ID0EDCA','cpp','3','4');return false;" > C++< / a > < / div > < div id = "ID0EDCA_tab4" class = "codeSnippetContainerTab" > < a href = "#" onclick = "javascript:ChangeTab('ID0EDCA','fs','4','4');return false;" > F#< / a > < / div > < / div > < div class = "codeSnippetContainerCodeContainer" > < div class = "codeSnippetToolBar" > < div class = "codeSnippetToolBarText" > < a id = "ID0EDCA_copyCode" href = "#" class = "copyCodeSnippet" onclick = "javascript:CopyToClipboard('ID0EDCA');return false;" title = "Copy" > Copy< / a > < / div > < / div > < div id = "ID0EDCA_code_Div1" class = "codeSnippetContainerCode" style = "display: block" > < pre xml:space = "preserve" > < span class = "keyword" > public< / span > < span class = "keyword" > struct< / span > < span class = "identifier" > char_ptr< / span > < / pre > < / div > < div id = "ID0EDCA_code_Div2" class = "codeSnippetContainerCode" style = "display: none" > < pre xml:space = "preserve" > < span class = "keyword" > Public< / span > < span class = "keyword" > Structure< / span > < span class = "identifier" > char_ptr< / span > < / pre > < / div > < div id = "ID0EDCA_code_Div3" class = "codeSnippetContainerCode" style = "display: none" > < pre xml:space = "preserve" > < span class = "keyword" > public< / span > < span class = "keyword" > value class< / span > < span class = "identifier" > char_ptr< / span > < / pre > < / div > < div id = "ID0EDCA_code_Div4" class = "codeSnippetContainerCode" style = "display: none" > < pre xml:space = "preserve" > [< < span class = "identifier" > SealedAttribute< / span > > ]
< span class = "keyword" > type< / span > < span class = "identifier" > char_ptr< / span > = < span class = "keyword" > struct< / span > < span class = "keyword" > end< / span > < / pre > < / div > < / div > < / div > < script type = "text/javascript" > AddLanguageTabSet ( "ID0EDCA" ) ; < / script > < / div > < p > The < span class = "selflink" > char_ptr< / span > type exposes the following members.< / p > < div class = "collapsibleAreaRegion" > < span class = "collapsibleRegionTitle" onclick = "SectionExpandCollapse('ID2RB')" onkeypress = "SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex = "0" > < img id = "ID2RBToggle" class = "collapseToggle" src = "../icons/SectionExpanded.png" / > Constructors< / span > < / div > < div id = "ID2RBSection" class = "collapsibleSection" > < table class = "members" id = "constructorList" > < tr > < th class = "iconColumn" >
2017-12-03 23:32:51 +01:00
< / th > < th > Name< / th > < th > Description< / th > < / tr > < tr data = "public;declared;notNetfw;" > < td > < img src = "../icons/pubmethod.gif" alt = "Public method" title = "Public method" / > < / td > < td > < a href = "dacdc449-bc14-8224-58ec-2837db13ad15.htm" > char_ptr(IntPtr)< / a > < / td > < td > < div class = "summary" >
Creates new string using an already allocated string in unmanaged memory.
< / div > < / td > < / tr > < tr data = "public;declared;notNetfw;" > < td > < img src = "../icons/pubmethod.gif" alt = "Public method" title = "Public method" / > < / td > < td > < a href = "255d9de2-3cf6-50f3-3276-a4332896da07.htm" > char_ptr(String)< / a > < / td > < td > < div class = "summary" >
2017-11-04 16:02:37 +01:00
Creates new string in unmanaged memory and initializes it with < span class = "parameter" > str< / span > .
< / div > < / td > < / tr > < / table > < a href = "#PageHeader" > Top< / a > < / div > < div class = "collapsibleAreaRegion" > < span class = "collapsibleRegionTitle" onclick = "SectionExpandCollapse('ID3RB')" onkeypress = "SectionExpandCollapse_CheckKey('ID3RB', event)" tabindex = "0" > < img id = "ID3RBToggle" class = "collapseToggle" src = "../icons/SectionExpanded.png" / > Methods< / span > < / div > < div id = "ID3RBSection" class = "collapsibleSection" > < table class = "members" id = "methodList" > < tr > < th class = "iconColumn" >
< / th > < th > Name< / th > < th > Description< / th > < / tr > < tr data = "public;declared;notNetfw;" > < td > < img src = "../icons/pubmethod.gif" alt = "Public method" title = "Public method" / > < / td > < td > < a href = "77d1beb2-2aed-58e8-dc50-bba2ff56afee.htm" > Equals(Object)< / a > < / td > < td > < div class = "summary" >
Returns a value indicating whether this instance is equal to a specified object.
< / div > (Overrides < a href = "http://msdn2.microsoft.com/en-us/library/2dts52z7" target = "_blank" > ValueType< span id = "LST90034EB8_0" > < / span > < script type = "text/javascript" > AddLanguageSpecificTextSet ( "LST90034EB8_0?cs=.|vb=.|cpp=::|nu=.|fs=." ) ; < / script > Equals(Object)< / a > .)< / td > < / tr > < tr data = "public;declared;notNetfw;" > < td > < img src = "../icons/pubmethod.gif" alt = "Public method" title = "Public method" / > < / td > < td > < a href = "b1eefed1-412c-fcb1-29ff-34094bc8d57e.htm" > Equals(char_ptr)< / a > < / td > < td > < div class = "summary" >
Returns a value indicating whether this instance is equal to a specified < span class = "selflink" > char_ptr< / span > value.
< / div > < / td > < / tr > < tr data = "public;declared;notNetfw;" > < td > < img src = "../icons/pubmethod.gif" alt = "Public method" title = "Public method" / > < / td > < td > < a href = "84492195-83e7-7738-6678-c299663dd02c.htm" > GetHashCode< / a > < / td > < td > < div class = "summary" >
Returns the hash code for this instance.
2017-12-15 02:18:55 +01:00
< / div > (Overrides < a href = "http://msdn2.microsoft.com/en-us/library/y3509fc2" target = "_blank" > ValueType< span id = "LST90034EB8_1" > < / span > < script type = "text/javascript" > AddLanguageSpecificTextSet ( "LST90034EB8_1?cs=.|vb=.|cpp=::|nu=.|fs=." ) ; < / script > GetHashCode< span id = "LST90034EB8_2" > < / span > < script type = "text/javascript" > AddLanguageSpecificTextSet ( "LST90034EB8_2?cs=()|vb=|cpp=()|nu=()|fs=()" ) ; < / script > < / a > .)< / td > < / tr > < tr data = "public;inherited;notNetfw;" > < td > < img src = "../icons/pubmethod.gif" alt = "Public method" title = "Public method" / > < / td > < td > < a href = "http://msdn2.microsoft.com/en-us/library/dfwy45w9" target = "_blank" > GetType< / a > < / td > < td > < div class = "summary" > Gets the < a href = "http://msdn2.microsoft.com/en-us/library/42892f65" target = "_blank" > Type< / a > of the current instance.< / div > (Inherited from < a href = "http://msdn2.microsoft.com/en-us/library/e5kfa45b" target = "_blank" > Object< / a > .)< / td > < / tr > < tr data = "public;declared;notNetfw;" > < td > < img src = "../icons/pubmethod.gif" alt = "Public method" title = "Public method" / > < / td > < td > < a href = "42a15292-978c-35c6-bfa3-9d5acf725ca7.htm" > ToIntPtr< / a > < / td > < td > < div class = "summary" >
2017-11-04 16:02:37 +01:00
Gets pointer to string in unmanaged memory.
< / div > < / td > < / tr > < tr data = "public;declared;notNetfw;" > < td > < img src = "../icons/pubmethod.gif" alt = "Public method" title = "Public method" / > < / td > < td > < a href = "1eedfa7e-7135-6b5d-e395-9a6b90fab236.htm" > ToString< / a > < / td > < td > < div class = "summary" >
2017-12-15 02:18:55 +01:00
Gets the .NET < a href = "http://msdn2.microsoft.com/en-us/library/s1wwdcbf" target = "_blank" > string< / a > equivalent of the unmanaged string.
2017-11-04 16:02:37 +01:00
< / div > (Overrides < a href = "http://msdn2.microsoft.com/en-us/library/wb77sz3h" target = "_blank" > ValueType< span id = "LST90034EB8_3" > < / span > < script type = "text/javascript" > AddLanguageSpecificTextSet ( "LST90034EB8_3?cs=.|vb=.|cpp=::|nu=.|fs=." ) ; < / script > ToString< span id = "LST90034EB8_4" > < / span > < script type = "text/javascript" > AddLanguageSpecificTextSet ( "LST90034EB8_4?cs=()|vb=|cpp=()|nu=()|fs=()" ) ; < / script > < / a > .)< / td > < / tr > < / table > < a href = "#PageHeader" > Top< / a > < / div > < div class = "collapsibleAreaRegion" > < span class = "collapsibleRegionTitle" onclick = "SectionExpandCollapse('ID4RB')" onkeypress = "SectionExpandCollapse_CheckKey('ID4RB', event)" tabindex = "0" > < img id = "ID4RBToggle" class = "collapseToggle" src = "../icons/SectionExpanded.png" / > Operators< / span > < / div > < div id = "ID4RBSection" class = "collapsibleSection" > < table class = "members" id = "operatorList" > < tr > < th class = "iconColumn" >
< / th > < th > Name< / th > < th > Description< / th > < / tr > < tr data = "public;static;declared;notNetfw;" > < td > < img src = "../icons/puboperator.gif" alt = "Public operator" title = "Public operator" / > < img src = "../icons/static.gif" alt = "Static member" title = "Static member" / > < / td > < td > < a href = "a4f47fa4-8285-638d-c094-bc9e249a49a0.htm" > Equality< / a > < / td > < td > < div class = "summary" >
Gets a value that indicates whether the two argument values are equal.
< / div > < / td > < / tr > < tr data = "public;static;declared;notNetfw;" > < td > < img src = "../icons/puboperator.gif" alt = "Public operator" title = "Public operator" / > < img src = "../icons/static.gif" alt = "Static member" title = "Static member" / > < / td > < td > < a href = "f090e7f3-7440-c789-5594-e5512076a61a.htm" > Inequality< / a > < / td > < td > < div class = "summary" >
Gets a value that indicates whether the two argument values are different.
< / div > < / td > < / tr > < / table > < a href = "#PageHeader" > Top< / a > < / div > < div class = "collapsibleAreaRegion" > < span class = "collapsibleRegionTitle" onclick = "SectionExpandCollapse('ID5RB')" onkeypress = "SectionExpandCollapse_CheckKey('ID5RB', event)" tabindex = "0" > < img id = "ID5RBToggle" class = "collapseToggle" src = "../icons/SectionExpanded.png" / > Fields< / span > < / div > < div id = "ID5RBSection" class = "collapsibleSection" > < table class = "members" id = "fieldList" > < tr > < th class = "iconColumn" >
2017-12-03 23:32:51 +01:00
< / th > < th > Name< / th > < th > Description< / th > < / tr > < tr data = "public;declared;notNetfw;" > < td > < img src = "../icons/pubfield.gif" alt = "Public field" title = "Public field" / > < / td > < td > < a href = "cfa68b4c-3d5d-c5b1-1ef1-ab054ef87097.htm" > Pointer< / a > < / td > < td > < div class = "summary" >
Pointer to string in unmanaged memory.
< / div > < / td > < / tr > < tr data = "public;static;declared;notNetfw;" > < td > < img src = "../icons/pubfield.gif" alt = "Public field" title = "Public field" / > < img src = "../icons/static.gif" alt = "Static member" title = "Static member" / > < / td > < td > < a href = "76481715-8a8b-e739-905c-f0d83de503ab.htm" > Zero< / a > < / td > < td > < div class = "summary" >
2017-11-04 16:02:37 +01:00
Gets a null < span class = "selflink" > char_ptr< / span > .
< / div > < / td > < / tr > < / table > < a href = "#PageHeader" > Top< / a > < / div > < div class = "collapsibleAreaRegion" > < span class = "collapsibleRegionTitle" onclick = "SectionExpandCollapse('ID6RB')" onkeypress = "SectionExpandCollapse_CheckKey('ID6RB', event)" tabindex = "0" > < img id = "ID6RBToggle" class = "collapseToggle" src = "../icons/SectionExpanded.png" / > Remarks< / span > < / div > < div id = "ID6RBSection" class = "collapsibleSection" / > < div class = "collapsibleAreaRegion" id = "seeAlsoSection" > < span class = "collapsibleRegionTitle" onclick = "SectionExpandCollapse('ID7RB')" onkeypress = "SectionExpandCollapse_CheckKey('ID7RB', event)" tabindex = "0" > < img id = "ID7RBToggle" class = "collapseToggle" src = "../icons/SectionExpanded.png" / > See Also< / span > < / div > < div id = "ID7RBSection" class = "collapsibleSection" > < h4 class = "subHeading" > Reference< / h4 > < div class = "seeAlsoStyle" > < a href = "d9c51b9f-0c54-770b-28ea-6eebd8fef368.htm" > Math.Gmp.Native Namespace< / a > < / div > < / div > < / div > < / div > < div id = "pageFooter" class = "pageFooter" > < / div > < / body > < / html >