ESRI.ArcGIS.ADF.IMS
ValueField Property
See Also 
ESRI.ArcGIS.ADF.IMS.Display.Renderer Namespace > ValueMapLabelRenderer Class : ValueField Property




Gets or sets the lookup field in the database used to determine what symbology to display.

Syntax

Visual Basic (Declaration) 
Public Property ValueField As String
Visual Basic (Usage)Copy Code
Dim instance As ValueMapLabelRenderer
Dim value As String
 
instance.ValueField = value
 
value = instance.ValueField
C# 
public string ValueField {get; set;}

Example

For an example setting the ValueField, see the ValueMapLabelRenderer overview. For an example of using unique values for labels, see UniqueLabelValue.

Remarks

For each feature to be rendered, the values in this field are compared to the values specified in the Values collection (either value ranges or unique values). If a match is found, the feature is labeled with the text found in the field specified in LabelField, rendered as defined in the LabelValue's Symbol property. If no match is found, the DefaultSymbol is used to render the label, or if no DefaultSymbol is set, the label is not shown.

See Also

© 2010 All Rights Reserved.