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

variables
Request variables to set the parameter for.
obj
An object to get the parameter from.
name
Parameter name.

Glossary Item Box

Sets a required parameter with the given name.

Syntax

 
Visual Basic (Declaration)
C#
 
 

Parameters

variables
Request variables to set the parameter for.
obj
An object to get the parameter from.
name
Parameter name.

Exceptions

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

Remarks

If the parameter value is missing or empty, an exception is thrown.

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.