# GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.FromString

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_FromString_" data-uid="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.FromString*">FromString Method
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_FromString_" data-uid="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.FromString*"></a>
<h4 id="GrapeCity_Enterprise_Data_Expressions_ExpressionInfo_FromString_System_String_GrapeCity_Enterprise_Data_Expressions_ExpressionResultType_" data-uid="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.FromString(System.String,GrapeCity.Enterprise.Data.Expressions.ExpressionResultType)">FromString(string, ExpressionResultType)</h4>
<div class="markdown level1 summary"><p>Creates an <a class="xref" href="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object from a string expression representation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static ExpressionInfo FromString(string expressionString, ExpressionResultType type)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></td>
      <td><span class="parametername">expressionString</span></td>
      <td><p>The expression string.</p>
</td>
    </tr>
    <tr>
      <td><a class="xref" href="GrapeCity.Enterprise.Data.Expressions.ExpressionResultType.html">ExpressionResultType</a></td>
      <td><span class="parametername">type</span></td>
      <td><p>If the expressionString parameter does not start with an equals sign (=), then the expression is treated as a constant with an enumerated ExpressionResultType.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a></td>
      <td><p>an <a class="xref" href="GrapeCity.Enterprise.Data.Expressions.ExpressionInfo.html">ExpressionInfo</a> object that represents the specified expression.</p>
</td>
    </tr>
  </tbody>
</table>
</div>
