DNSet(A,DotNet.System.Drawing.Font('Arial', 10))
Suppose A is a .NET variable of type System.Drawing.Font, this will set its value to Arial with size 10. This is equivalent to updating A with DotNet.System.Drawing.Font('Arial', 10)
DNSet(A.Font, DotNet.System.Drawing.Font('Arial', 10))
Suppose A is a .NET variable that has a property of Font, this will set its value to Arial with size 10.
DNSet(A.myIntProp, 7)
Suppose A is a field of some .NET type that has an integer property named myIntProp. This will set the value of myIntProp to 7.
DNSet(A[3], 'hello')
Suppose A is of type System.String[]. This will set the fourth cell of A with the value 'hello'.
DNSet(DotNet.Calculator.CalculatorsCount,0)
Suppose CalculatorsCount is a static data member of the class DotNet.Calculator. This will set its value to 0.
|