Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call .net method with enum argument #56

Open
Pierre-M-A-Henry opened this issue Jun 21, 2022 · 0 comments
Open

Call .net method with enum argument #56

Pierre-M-A-Henry opened this issue Jun 21, 2022 · 0 comments

Comments

@Pierre-M-A-Henry
Copy link

Hello,
I am just starting to use this package, many thanks for it.

Apologies if this is documented somewhere already. I am not able to call a .NET method on an object, when the method takes in an enum parameter. I have tried passing the string representation of the enum value, or the equivalent integer value but in both cases rclr is not able to find a matching instance method.

Is there a way to do this?
Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant