Parameters entered in the Create Instance dialog box

I am using Visual Studio 2005 Team Edition and am trying to instantiate a class using the Create Instance option in the class view. The constructor has three parameters, two of which are DateTime structures.

My question is, how do I enter a valid DateTime value in the field Value

?

I have tried the following to no avail:

28-05-2009 06:00:00
"28-05-2009 06:00:00"
new DateTime("28-05-2009 06:00:00")
new System.DateTime("28-05-2009 06:00:00")

      

In all cases, it just shows an error Type Mismatch: 'System.DateTime' expected

.

0


a source to share


2 answers


This is currently not possible in the existing test bench of the facility

See this link. This is currently the "Hold" function



http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=113080

0


a source


You can create a new DateTime instance from the View class and select it from the dropdown in the grid.



0


a source







All Articles