ArcGIS Runtime SDK for WPF - Library Reference
Message Class
Members  See Also 
ESRI.ArcGIS.Client.AdvancedSymbology Namespace : Message Class

Represents a Graphic feature rendered on the map with military symbology.

Object Model

Message ClassString Class

Syntax

Visual Basic (Declaration) 
Public Class Message 
   Inherits System.Collections.Generic.Dictionary(Of String,String)

Remarks

Each message, represented by an instance of the Message class, comprises a Dictionary of System.String key value pairs. These specify a number of important characteristics of the message:

  • Id ("_id"): Any string value.
  • Type ("_type"): "position_report", "spot_report", or "chemlight".
  • Action ("_action"): "update", "select", "un-select" or "remove".
  • Control points ("_control_points"): A semi-colon-separated string of comma-separated coordinate pairs e.g. 53.95,-23.67;53.93,-23.55;53.91,-23.45.
  • Symbol ID Code ("sic"): A string value representing the ID code of the symbol in the dictionary e.g."GHGPGPWA------X".
  • Spatial Reference Well Known ID ("_wkid"): A string representing the WKID code for a spatial reference e.g. for WGS1984 specify "4326".
  • Spatial Reference Well Known Text ("_wkt"): A string representing the Well Known Test string of the spatial reference.
The key value pairs can be explicitly constructed (string keywords for the Key component of the Key Value Pair shown in brackets above). Or alternatively the MessageHelper class contains methods and properties to support the creation of messages, such as MessageHelper.CreateMilitaryUpdateMessage, MessageHelper.CreateMilitarySelectMessage, and MessageHelper.CreateMilitaryRemoveMessage.

Inheritance Hierarchy

System.Object
   System.Collections.Generic.Dictionary<TKey,TValue>
      ESRI.ArcGIS.Client.AdvancedSymbology.Message

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7, Windows 8

See Also

© ESRI, Inc. All Rights Reserved.