Click here to view all files
 
Gets a value that represents an argument passed in to the DoWork event.

Namespace:  ESRI.ArcGISExplorer.Threading
Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.900 (2.0.0.900)

Syntax

C#
public Object Argument { get; }
Visual Basic (Declaration)
Public ReadOnly Property Argument As Object

Field Value

The argument passed in to DoWork; this may contain any type of data, or may be nullNothingnullptra null reference (Nothing in Visual Basic) if no argument was set.

Remarks

If data needs to be passed from the UI thread to the worker thread, this can be accomplished by passing information as a parameter into the overloaded RunWorkerAsync(Object) method on the UI thread. This information is then accessible in the worker thread from this property.

See Also

Relate Topics:
  Result Property
Created by Atop CHM to web converter,© 2009 all right reserved.