Esri Business Analyst Server API for Silverlight 2.2 Reference
AddOption Method
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore Namespace > BAReportHeader Class : AddOption Method

dictionary
Collection of key/value objects to add the option to.
name
Property name.
key
Property key (optional). If the key is null or empty, the property name is used as a key.

Glossary Item Box

Adds an option to the dictionary if this option is specified.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

dictionary
Collection of key/value objects to add the option to.
name
Property name.
key
Property key (optional). If the key is null or empty, the property name is used as a key.

Remarks

A property with the given name is tested and, if its string value is specified and nonempty, a key/value object is added to the dictionary under the given key. While mapping a property to a key/value object its key is converted to lower case.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2010-2012 Esri, Inc. All Rights Reserved.