AGI AgAsHpopPlugin 6 Send comments on this topic.
RegisterParameter Method (IAgAsDensityModelResultRegister)
See Also 
Name
DefaultValue
MinValue
MaxValue
Dimension
Windows








Description

Registers a parameter of the computation that may be estimated. Returns an index identifier of the parameter used by other interfaces.

Syntax

[Visual Basic .NET]
Public Function RegisterParameter( _
   ByVal Name As String, _
   ByVal DefaultValue As Double, _
   ByVal MinValue As Double, _
   ByVal MaxValue As Double, _
   ByVal Dimension As String _
) As Integer

[C#]
public int RegisterParameter(
string Name,
double DefaultValue,
double MinValue,
double MaxValue,
string Dimension
);

[Managed C++]
public: int RegisterParameter(
String __gc ^ Name,
double DefaultValue,
double MinValue,
double MaxValue,
String __gc ^ Dimension
);

[Unmanaged C++]
public: HRESULT RegisterParameter(
BSTR Name,
double DefaultValue,
double MinValue,
double MaxValue,
BSTR Dimension,
long * ReturnValue
);

[VBScript]
'Function object.RegisterParameter(...)  returns type ppLong
' Name is type String
' DefaultValue is type Double
' MinValue is type Double
' MaxValue is type Double
' Dimension is type String
result = object.RegisterParameter(Name, DefaultValue, MinValue, MaxValue, Dimension)

[Perl]
$return_value = $objectReference->RegisterParameter(# $return_value is of type int
$Name, # type string (scalar)
$DefaultValue, # type double (scalar)
$MinValue, # type double (scalar)
$MaxValue, # type double (scalar)
$Dimension# type string (scalar)
);

Parameters

Name
DefaultValue
MinValue
MaxValue
Dimension

See Also

© 2017 Analytical Graphics, Inc. All Rights Reserved.

ODTK 6.5