RE: Getting AppSetting from app.config
- From: v-lliu@xxxxxxxxxxxxxxxxxxxx (Linda Liu [MSFT])
- Date: Thu, 05 Apr 2007 04:20:00 GMT
Hi GaryDean,
It seems that your WinForms application is written in C#.
In C#, you should use the keyword "typeof" to obtain the System.Type object
for a type. For example,
System.Type type = typeof(int);
The VB.NETequivalent is the keyword "GetType". For example,
Dim type As Sytem.Type = GetType(Integer)
For more information on the keyword typeof and GetType, you may visit the
following links:
"typeof (C# Reference) "
http://msdn2.microsoft.com/en-us/library/58918ffs.aspx
"GetType Operator "
http://msdn2.microsoft.com/en-us/library/tay4kywk.aspx
Hope this helps.
If you have anything unclear, please feel free to let me know.
Sincerely,
Linda Liu
Microsoft Online Community Support
==================================================
Get notification to my posts through email? Please refer to
http://msdn.microsoft.com/subscriptions/managednewsgroups/default.aspx#notif
ications.
Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial response from the community or a Microsoft Support
Engineer within 1 business day is acceptable. Please note that each follow
up response may take approximately 2 business days as the support
professional working with you may need further investigation to reach the
most efficient resolution. The offering is not appropriate for situations
that require urgent, real-time or phone-based interactions or complex
project analysis and dump analysis issues. Issues of this nature are best
handled working with a dedicated Microsoft Support Engineer by contacting
Microsoft Customer Support Services (CSS) at
http://msdn.microsoft.com/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
.
- References:
- Getting AppSetting from app.config
- From: GaryDean
- Getting AppSetting from app.config
- Prev by Date: Re: How to disable inplace edit of some TreeView nodes
- Next by Date: Re: ComboBox Items
- Previous by thread: Re: Getting AppSetting from app.config
- Next by thread: RE: STOP Error when printing from ReportViewer
- Index(es):
Relevant Pages
|