In the VS 2015 watch window it shows a RootType property on the TemplateContent; however the compiler doesn't seem to know about it. Does anyone know how to access it from code? Thanks in avance, Steve
Asked
Active
Viewed 121 times
1 Answers
0
According to the reference source, that property in internal
and not accessible outside of the source assembly. The only way you can access it outside of the assembly is through reflection.
I would first look for a public property that gets you what you need, or look through the documentation to see if there's a public method that would work for you. Internal implementations can change in the future, which may break your code without notice.
-
I was afraid of that. Thanks for the reminder of the reference source. – Steve Johnson Jun 03 '16 at 14:39