VS 2010 Debugger: Any way to search an object for a particular value?
Posted
by Dr. Zim
on Stack Overflow
See other posts from Stack Overflow
or by Dr. Zim
Published on 2010-06-10T20:07:18Z
Indexed on
2010/06/13
14:12 UTC
Read the original article
Hit count: 226
I am trying to search the "this" object in an ASP.NET MVC 2 for a string value.
In a view, I set the partial view input tag prefix and am trying to figure out how to reference it in the partial view itself.
For example:
Html.EditorFor(m => m, "templateName", "fieldPrefix");
In the partial view, I would like to search the "this" object for my fieldPrefix string to see where the MVC folks decided to store it.
Any ideas?
© Stack Overflow or respective owner