Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 70380

How to pass a NULL string into a .net method

$
0
0

Hey everyone,

 

grafik.png

 I am trying to use this method, and it wants a NULL to query all.

grafik.png

What do I wire into workspaceName? Empty String ("") does not work, just a constant with no characters inside does not work. Creating a byte array with 0 and converting to string does not work. With "does not work" i mean i get an empty array of workspaces, just like when i enter a notexisting workspaceName. I do not get an exception.

 

The method is working when entering an existing "workspaceName" into the input.

 

Thx in advance


Viewing all articles
Browse latest Browse all 70380

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>