Contents Previous Next


Copy Method (BDKDistribution Object)

Description

Copies the parameters of one distribution to another. This method can also be useful to copy a distribution defined or returned from the @RISK Developer's Kit (RDK) into the BDK.

Syntax

object.Copy(distToCopy as Object)

Arguments

distToCopy(Required object) – the distribution object to copy. This must be either a BDKDistribution object or a RDKDistribution object.

Return Value

None.

Example

'Copy distribution B into distribution A:
Dim distA as New BDKDistribution
distA.Copy distB