Invoke Static Method
#1/1/2005#
new DateTime(2005,1,1)
and others
with no luck. It keep getting a type mismatch message.
#1/1/2005#
new DateTime(2005,1,1)
and others
with no luck. It keep getting a type mismatch message.
Here's how I was able to do this:
1. In Class View, create an instance of DateTime (under Project References->mscorlib->System->DateTime).
2. Now invoke the static method. You should be able to choose the DateTime you created in the dropdown.
This functionality is actually independent of the Team System features, so I'm not entirely familiar with it. However, I'm following up with the group responsible for it, so I'll post again once I find out if there's a better or quicker way to do this.
I'll check back to see if you are successfull in finding one.