Community Analyst API for Silverlight 2.2 Reference
SetOptionalVariable Method
See Also  Send Feedback
ESRI.ArcGIS.Client.BACore.Client Namespace > BATaskUtils Class : SetOptionalVariable Method

variables
Request variables to set variable for.
name
Variable name.
value
Variable value.
defaultValue
Default value to be used if the value is empty or missing.

Glossary Item Box

Sets an optional variable with the given name, value, and default value.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

variables
Request variables to set variable for.
name
Variable name.
value
Variable value.
defaultValue
Default value to be used if the value is empty or missing.

Exceptions

ExceptionDescription
BARequestErrorFailed to set variable because its value has no overriden ToString method or the ToString method failed.

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.