<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to set field for GPFeatureRecordSetLayer in ArcObjects SDK Questions</title>
    <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-set-field-for-gpfeaturerecordsetlayer/m-p/450546#M12240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a view shed geoprocessing Task there is an input parameter "&lt;SPAN style="color: #7ed529;"&gt;OffsetA&lt;/SPAN&gt;" that is in the "Fields" list of a GPFeatureRecordSetLayer,&amp;nbsp; is there any example of setting this in C#?&lt;/P&gt;&lt;P&gt;So far I have:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #f1b259;"&gt;var inputPoint = await MyMapView.Editor.RequestPointAsync();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #f1b259;"&gt;GPFeatureRecordSetLayer gp = new GPFeatureRecordSetLayer("Input_Observation_Point", inputPoint);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter: Input_Observation_Point &lt;BR /&gt;Data Type: GPFeatureRecordSetLayer &lt;BR /&gt;Display Name Input_Observation_Point &lt;BR /&gt;Description: The input location from which the viewshed should be calculated. &lt;BR /&gt;Direction: esriGPParameterDirectionInput &lt;BR /&gt;Default Value:&amp;nbsp; Geometry Type: esriGeometryPoint &lt;BR /&gt;HasZ: false &lt;BR /&gt;HasM: false&amp;nbsp; &lt;BR /&gt;Spatial Reference: 54003&amp;nbsp; (54003) &lt;/P&gt;&lt;P&gt;Fields: &lt;BR /&gt;:black_medium_small_square:&lt;/img&gt; OBJECTID&amp;nbsp; ( type: esriFieldTypeOID , alias: OBJECTID )&amp;nbsp; &lt;BR /&gt;:black_medium_small_square:&lt;/img&gt; &lt;SPAN style="color: #7ed529;"&gt;OffsetA&lt;/SPAN&gt;&amp;nbsp; ( type: &lt;SPAN style="color: #303030;"&gt;esriFieldTypeSmallInteger&lt;/SPAN&gt; , alias: OffsetA )&amp;nbsp; &lt;BR /&gt;Features: None.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 Apr 2016 20:48:09 GMT</pubDate>
    <dc:creator>JosephKane</dc:creator>
    <dc:date>2016-04-19T20:48:09Z</dc:date>
    <item>
      <title>How to set field for GPFeatureRecordSetLayer</title>
      <link>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-set-field-for-gpfeaturerecordsetlayer/m-p/450546#M12240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For a view shed geoprocessing Task there is an input parameter "&lt;SPAN style="color: #7ed529;"&gt;OffsetA&lt;/SPAN&gt;" that is in the "Fields" list of a GPFeatureRecordSetLayer,&amp;nbsp; is there any example of setting this in C#?&lt;/P&gt;&lt;P&gt;So far I have:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #f1b259;"&gt;var inputPoint = await MyMapView.Editor.RequestPointAsync();&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #f1b259;"&gt;GPFeatureRecordSetLayer gp = new GPFeatureRecordSetLayer("Input_Observation_Point", inputPoint);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameter: Input_Observation_Point &lt;BR /&gt;Data Type: GPFeatureRecordSetLayer &lt;BR /&gt;Display Name Input_Observation_Point &lt;BR /&gt;Description: The input location from which the viewshed should be calculated. &lt;BR /&gt;Direction: esriGPParameterDirectionInput &lt;BR /&gt;Default Value:&amp;nbsp; Geometry Type: esriGeometryPoint &lt;BR /&gt;HasZ: false &lt;BR /&gt;HasM: false&amp;nbsp; &lt;BR /&gt;Spatial Reference: 54003&amp;nbsp; (54003) &lt;/P&gt;&lt;P&gt;Fields: &lt;BR /&gt;:black_medium_small_square:&lt;/img&gt; OBJECTID&amp;nbsp; ( type: esriFieldTypeOID , alias: OBJECTID )&amp;nbsp; &lt;BR /&gt;:black_medium_small_square:&lt;/img&gt; &lt;SPAN style="color: #7ed529;"&gt;OffsetA&lt;/SPAN&gt;&amp;nbsp; ( type: &lt;SPAN style="color: #303030;"&gt;esriFieldTypeSmallInteger&lt;/SPAN&gt; , alias: OffsetA )&amp;nbsp; &lt;BR /&gt;Features: None.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Apr 2016 20:48:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcobjects-sdk-questions/how-to-set-field-for-gpfeaturerecordsetlayer/m-p/450546#M12240</guid>
      <dc:creator>JosephKane</dc:creator>
      <dc:date>2016-04-19T20:48:09Z</dc:date>
    </item>
  </channel>
</rss>

