473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

CultureInfo object

what's the full class hierarchy for the CultureInfo object in effect by
default ?
Nov 20 '05 #1
4 1768
* "John A Grandy" <johnagrandy-at-yahoo-dot-com> scripsit:
what's the full class hierarchy for the CultureInfo object in effect by
default ?


'System.Globalization.CultureInfo'

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2
the NumberFormat type is not available for declarations via this class
hierarchy :

Dim MyNumberFormat As System.Globalization.CultureInfo.NumberFormat

what is the proper class hierarchy for declaring a reference of type
NumberFormat ?

"Herfried K. Wagner [MVP]" <hi***************@gmx.at> wrote in message
news:bv*************@ID-208219.news.uni-berlin.de...
* "John A Grandy" <johnagrandy-at-yahoo-dot-com> scripsit:
what's the full class hierarchy for the CultureInfo object in effect by
default ?


'System.Globalization.CultureInfo'

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>

Nov 20 '05 #3
* "John A Grandy" <johnagrandy-at-yahoo-dot-com> scripsit:
the NumberFormat type is not available for declarations via this class
hierarchy :

Dim MyNumberFormat As System.Globalization.CultureInfo.NumberFormat

what is the proper class hierarchy for declaring a reference of type
NumberFormat ?


There is no 'NumberFormat' class, you can use 'NumberFormatInfo'
instead.

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
How are you getting the CultureInfo object?
This is important because number/currency/date formats are valid only if you
have a fully-qualified culture (region & language), for example, "en-US" or
"fr-CA". Neutral cultureinfo instances (ones that only have language, such
as "en", or "fr", and no region) or invariant cultureinfo instances have
absolutely no formatting or parsing information. For example, a culture-info
instance based on "en" can't have date or number formatting rules, because
formatting can be different between the many English-speaking regions of the
world.

-Rob

"John A Grandy" <johnagrandy-at-yahoo-dot-com> wrote in message
news:%2****************@TK2MSFTNGP09.phx.gbl...
what's the full class hierarchy for the CultureInfo object in effect by
default ?

Nov 20 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: choyk1 | last post by:
Hi all, I cannot serialize CultureInfo property as below. It invokes InvalidOperationException. public class One { private CultureInfo culture;
1
by: tommys | last post by:
Hi, I thought that using CultureInfo.CurrentUICulture would give me the current date format as set in the OS - but it did not work that way :-( When re-reading the docs I can see why: "Gets the...
5
by: Jason L James | last post by:
Hi have two subroutines that change the currentCulture property of my application. I can call either: System.Threading.Thread.CurrentThread.CurrentCulture = New CultureInfo("en-GB") or:
8
by: G.Ashok | last post by:
Hi, I have created CultureInfo object and specified required digit grouping in it. The one of the overloaded ToString methods of Decimal type has parameters to format the value with required...
4
by: Dirk Behnke | last post by:
How can I start a new process with a different CultureInfo? I have tried already to set the CultureInfo of the thread starting the new process before creating the Process object, but it doesn't...
8
by: Rico | last post by:
Hello Everyone, I observed something strange in some quick testing code: void Button1Click(object sender, System.EventArgs e) { CultureInfo culture = new CultureInfo("th-TH", false); ...
8
by: Phil Jollans | last post by:
Hi, I am having difficulty overriding the ToString() method of CultureInfo using Visual Studio 2005. Exactly the same code works fine with Visual Studio .NET 2003. What I am doing is adding...
8
by: =?Utf-8?B?T2xpdmllciBHSUw=?= | last post by:
Hello, I try to convert a volume stored as a string value in an XML file into a Decimal object. The volume is stored with comma as decimal separator ("210,12") according to french habits. To be...
0
by: Dilip | last post by:
I ran into a situation at work regarding unicode character encodings and .NET cultures that left me a tad bit confused. I was trying to instantiate a CultureInfo object from a locale identifying...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.