This document is archived and information here might be outdated.  Recommended version.


IGPSARadius.SetVariable Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (SpatialAnalyst)  

IGPSARadius.SetVariable Method

Defines a variable radius.

[Visual Basic .NET]
Public Sub SetVariable ( _
    ByVal Count As Integer, _
    [ByRef maxDistance As Object] _
)
[C#]
public void SetVariable (
    int Count,
    ref object maxDistance
);
[C#]

Optional Values

maxDistance   To indicate that this parameter is undefined, first define a variable object Missing=Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT SetVariable(
  long Count,
  VARIANT* maxDistance
);
[C++]

Parameters Count [in] Count is a parameter of type long maxDistance [optional] maxDistance is a parameter of type VARIANT
To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Spatial Analyst Extension.

See Also

IGPSARadius Interface