DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Wed, 01 Aug 2007 20:23:57 -0700,    posted on: microsoft.public.dotnet.framework        back       

Thread Index
  1    unknown


Dynamically determine thw syntax of a function, method, or property call   
Does anyone have any good way to dynamically determine the syntax of a
function, method, or property call.

What I am looking to do is create a very limited version of the VS
object browser and get back list of all public functions, methods,
properties, etc and their calling convention.  If the object browser
was a callable component that I could deploy I would just use that,
but as far as I can tell it is not.

I am currently using reflection to get all public items in an object,
and checking all properties and attributes to dynamically create the
same thing that intellisense does automatically.  But, this is turning
out to be a huge endevor to re-create what visual studio already does
with the object browser and IntelliSense.

For eample if I have a Function:

Public Function GetText(byval Index as integer) as string, in an
object.

I just want to return this back to the user, exactly as it is shown,
with all items in a listbox.  But when you add up all of the possible
choices, functions, mothods, properties, public fields, readonly,
writeonly, passed paramters, byval, byref, optional paramters, default
values, return types, etc, it is blowing my mind.

I am hoping there is a better way.  I need to do this dynamically as
it is not known what object will be passed into my application, and I
need to see what all of the public members and how they are killed.

Any help is appreciated.

Regards.
Date:Wed, 01 Aug 2007 20:23:57 -0700   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us