Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
C# version of VFP PEMSTATUS()
Message
From
18/01/2010 18:31:50
 
 
To
18/01/2010 18:16:05
General information
Forum:
ASP.NET
Category:
Other
Environment versions
Environment:
C# 2.0
Miscellaneous
Thread ID:
01444636
Message ID:
01444646
Views:
59
>>Hi,
>>
>>Is there a method or function similar to PEMSTATUS of VFP that lets you determine if a class has a method or property?
>>
>>TIA.
>
>Look at Bonnie's article in April 2007 of Universal Thread Magazine:
>
>http://www.levelextreme.com/ViewPageArticle.aspx?Session=352B65654B536B4830706B3D204F455A6670646F5559727967654E5A6F6B55635076513D3D
>Cathi Gero's article:
>http://www.levelextreme.com/ViewPageArticle.aspx?Session=474C46554B434B557356383D2063306E583357306373627A526154794B724B2F6553673D3D
>
>Kevin Goff wrote something similar in the Bakers Dozen:
>http://www.code-magazine.com/article.aspx?quickid=0703092&page=2
>http://www.code-magazine.com/articleprint.aspx?quickid=0703092&printmode=true

Some more info:

http://msdn.microsoft.com/en-us/library/kz0a8sxy.aspx

an interesting article on using reflection repeatedly:
http://www.codeproject.com/KB/cs/fast_dynamic_properties.aspx

Dynamic properties:
http://www.codeproject.com/KB/cs/csdynamicprops.aspx

Why you'd need it for methods I don't know as intellisense will tell you it doesn't exist and it won't compile without errors...
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform