Zum Hauptinhalt gehen

How do I set or assign an object's property

Kommentare

3 Kommentare

  • Permanently deleted user
    Hello,

     

    There is an example of updating feature attributes here - 

     

    C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sample Sites\Workflow_Samples\Resources\Workflows\ArcGIS Server Editing\ArcGISServerEditing.xaml

     

    on your server.

     

    Regards,

     

    Wayne Richard

     

    Latitude Geographics Group Ltd.

     

    Head Office: 300 – 1117 Wharf Street  Victoria, BC Canada V8W 1T7

     

    Tel: (250) 381-8130 | Fax: (250) 381-8132 | wrichard@latitudegeo.com 

     

    Developers of Geocortex web-based mapping software | www.geocortex.com

     

    An Esri Platinum Business Partner

     

     
    0
  • Permanently deleted user
    You usually need to create an instance of the object before you can set any properties.

     

    For your spatial reference example, you will need two Assign activities:

     

    SR = New ESRI.ArcGIS.Client.Geometry.SpatialReference()

     

    SR.WKID = 28355

     

    Some objects, like Spatial Reference, can be instantiated in one Assign like below:

     

    SR = New ESRI.ArcGIS.Client.Geometry.SpatialReference(28355)

     

    You can use suggestions (Edit > Enable Intellisense) to see if this is an option.

     

    _img_ alt="Creating an instance of spatial reference using the assign activity and intellisense." src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=907f2000000kAfp&feoid=Body&refid=0EMf2000000fze9" _/_img_

     

    Hope this helps!
    0
  • Permanently deleted user
    Thank you! Thank you! Thank you!!!!!!!!!!!! :)
    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.