What function is this?
If you need help with a project or need to know how to do something specific in VB.NET then please ask your questions in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts
Page 1 of 1
I cant remember the name of this function. it is like this:
FunctionName(boolean, object, object)
if the boolean is true, the function returns the first object. if it is false, it returns the second.
thanks if you can help
FunctionName(boolean, object, object)
if the boolean is true, the function returns the first object. if it is false, it returns the second.
thanks if you can help

maybe its this?
Code: Select all
if boolean = true then
return object1
else
return object2
end if
In VB.Net you can use the IIf function, I think this is what you are looking for.
3 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023