When dealing with office integration scenarios and when calling APIs that are based on old COM interfaces, there is a need to specify that a value is not provided. The notmal way to do this (say, in C#) is to use
Now, as it happens, Value is not a static property, as one might expect, but instead a public static field. It is currently not possible in X++ to reference the value of a field.
There are at least two ways to solve the problem:
This has a performance penalty involved, but that can rpobably be ignored in most cases.