I am trying to compute the F # equivalent of this C # attribute deltaclass:
[ ComImport(), InterfaceType(ComInterfaceType.InterfaceIsIUnknown), Guid("000214EE-0000-0000-C000-000000000046") ]
I can do this and it compiles fine:
[<ComImport>] [<InterfaceType(ComInterfaceType.InterfaceIsIUnknown)>] [<Guid("000214EE-0000-0000-C000-000000000046")>]
But now I'm wondering - is it possible to combine multiple attributes in F #? When I try something like this for the first two attributes:
[<ComImport>,<InterfaceType(ComInterfaceType.InterfaceIsIUnknown)>]
I get error FS0010. Also tried this:
[<ComImport , InterfaceType(ComInterfaceType.InterfaceIsIUnknown)>]
The same result.
Is this possible, and if so, what is the correct syntax?
f # attributes
Onorio catenacci
source share