ESRI.ArcGIS.E2API Feedback via the User Forum
ParameterSet Class
See Also  Members   Example 
ESRI.ArcGIS.E2API Namespace : ParameterSet Class


A set of parameters which can be passed between different objects in the ArcGIS Explorer object model.

Syntax

Visual Basic (Declaration) 
<ComVisibleAttribute(False)>
Public NotInheritable Class ParameterSet 
Visual Basic (Usage)Copy Code
Dim instance As ParameterSet
C# 
[ComVisibleAttribute(false)]
public sealed class ParameterSet 

Example

This example demonstrates how to access and update the parameters associated with a TaskUI. The ParameterSet is a convenient class for saving the state of your custom task in an NMF, when the task is saved as part of a map.
C#Copy Code
//Create Task Context. 
TaskContext newTaskContext = new TaskContext(); 
newTaskContext.TaskName = "MyCustomTask.CustomTask"; 
newTaskContext.TaskUIName = _taskUI.Name; 
 
//Get Parameters associated with TaskUI. 
ParameterSet parameters = _taskUI.ParameterSet; 
//Set a Parameter in ParameterSet 
parameters.SetParameter("TextBox1Value", TextBox1.Text); 
 
newTaskContext.UpdateParameters(parameters);
Visual BasicCopy Code
'Create Task Context.
Dim newTaskContext As TaskContext = New TaskContext
newTaskContext.TaskName = "MyCustomTask.CustomTask"
newTaskContext.TaskUIName = _taskUI.Name

'Get Parameters associated with TaskUI.
Dim parameters As ParameterSet = _taskUI.ParameterSet
'Set a Parameter in ParameterSet
parameters.SetParameter("TextBox1Value", TextBox1.Text)

newTaskContext.UpdateParameters(parameters)

Inheritance Hierarchy

System.Object
   ESRI.ArcGIS.E2API.ParameterSet

Platforms

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

Version Information

This class was added to the E2API at version 1.0.0.348.

See Also