I don't know how to define the ValueConversion attribute in a Cobol class implementing IValueConverter. Can anybody translate the following C# definition.
[ValueConversion(typeof(DateTime), typeof(String))]
public class DateConverter : IValueConverter
Thanks.
Werner Lanter
Page 1 / 1
I don't know how to define the ValueConversion attribute in a Cobol class implementing IValueConverter. Can anybody translate the following C# definition.
[ValueConversion(typeof(DateTime), typeof(String))]
public class DateConverter : IValueConverter
Thanks.
Werner Lanter
Hi Lanter, you should be able to use something like:
$set ilusing"System" ilusing"System.Windows.Data"
class-id DateConverter implements type IValueConverter
attribute ValueConversion(type of DateTime, type of string).
...
end class.
The ilusing directives will not be required if you set the namespaces in Visual Studio.
Sign up
Already have an account? Login
Welcome to the Rocket Forum!
Please log in or register:
Employee Login | Registration Member Login | RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.