Install gettext-0.18.1.1.tar.gz
[msysgit.git] / mingw / share / doc / gettext / csharpdoc / GNU_Gettext_GettextResourceManager.html
blobe23756724750388bba624936865101a1e66327d9
1 <HTML>
2 <HEAD>
3 <TITLE>GNU.Gettext.GettextResourceManager Class</TITLE>
4 </HEAD>
5 <BODY BGCOLOR="#FFFFFF">
6 <H3>GNU.Gettext.GettextResourceManager Class</H3>
8 <BLOCKQUOTE>
9 <TABLE COLS="1" ROWS="1" WIDTH="100%">
10 <TR><TD BGCOLOR="#C0C0C0"><PRE>public class GettextResourceManager: System.Resources.ResourceManager</PRE></TD></TR>
11 </TABLE>
12 </BLOCKQUOTE>
14 <H4>Base Types</H4>
16 <BLOCKQUOTE>
17 System.Resources.ResourceManager<BR>
18 &nbsp;&nbsp;GettextResourceManager<P>
20 </BLOCKQUOTE>
22 <H4>Library</H4>
24 <BLOCKQUOTE>
25 GNU.Gettext
26 </BLOCKQUOTE>
28 <H4>Summary</H4>
30 <BLOCKQUOTE>
32 Each instance of this class can be used to lookup translations for a
33 given resource name. For each <CODE>CultureInfo</CODE>, it performs the lookup
34 in several assemblies, from most specific over territory-neutral to
35 language-neutral.
36 </BLOCKQUOTE>
38 <H4>See Also</H4>
40 <BLOCKQUOTE>
41 <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
42 </BLOCKQUOTE>
44 <H4>Members</H4>
46 <BLOCKQUOTE>
47 <P>
49 GettextResourceManager Constructors<P>
51 <A HREF="#GettextResourceManager%28System.String%29%20Constructor" TARGET="contents">GettextResourceManager(System.String) Constructor</A><BR>
52 <A HREF="#GettextResourceManager%28System.String%2C%20System.Reflection.Assembly%29%20Constructor" TARGET="contents">GettextResourceManager(System.String, System.Reflection.Assembly) Constructor</A><BR>
53 <P>
55 GettextResourceManager Methods<P>
57 <A HREF="#GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%2C%20System.Globalization.CultureInfo%29%20Method" TARGET="contents">GettextResourceManager.GetPluralString(System.String, System.String, long, System.Globalization.CultureInfo) Method</A><BR>
58 <A HREF="#GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%29%20Method" TARGET="contents">GettextResourceManager.GetPluralString(System.String, System.String, long) Method</A><BR>
59 <A HREF="#GettextResourceManager.GetString%28System.String%2C%20System.Globalization.CultureInfo%29%20Method" TARGET="contents">GettextResourceManager.GetString(System.String, System.Globalization.CultureInfo) Method</A><BR>
60 <A HREF="#GettextResourceManager.GetString%28System.String%29%20Method" TARGET="contents">GettextResourceManager.GetString(System.String) Method</A><BR>
61 </BLOCKQUOTE>
63 <HR>
65 <A NAME="GettextResourceManager%28System.String%29%20Constructor"><H3>GettextResourceManager(System.String) Constructor</H3>
67 <BLOCKQUOTE>
68 <TABLE COLS="1" ROWS="1" WIDTH="100%">
69 <TR><TD BGCOLOR="#C0C0C0"><PRE>public GettextResourceManager(System.String baseName);</PRE></TD></TR>
70 </TABLE>
71 </BLOCKQUOTE>
73 <H4>Summary</H4>
75 <BLOCKQUOTE>
77 Constructor.
78 </BLOCKQUOTE>
80 <H4>Parameters</H4>
82 <BLOCKQUOTE>
83 <DL>
84 <DT>baseName</DT>
85 <DD>the resource name, also the assembly base
86 name</DD>
87 </DL>
88 </BLOCKQUOTE>
90 <H4>See Also</H4>
92 <BLOCKQUOTE>
93 <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
94 </BLOCKQUOTE>
96 <HR>
98 <A NAME="GettextResourceManager%28System.String%2C%20System.Reflection.Assembly%29%20Constructor"><H3>GettextResourceManager(System.String, System.Reflection.Assembly) Constructor</H3>
100 <BLOCKQUOTE>
101 <TABLE COLS="1" ROWS="1" WIDTH="100%">
102 <TR><TD BGCOLOR="#C0C0C0"><PRE>public GettextResourceManager(System.String baseName, System.Reflection.Assembly assembly);</PRE></TD></TR>
103 </TABLE>
104 </BLOCKQUOTE>
106 <H4>Summary</H4>
108 <BLOCKQUOTE>
110 Constructor.
111 </BLOCKQUOTE>
113 <H4>Parameters</H4>
115 <BLOCKQUOTE>
116 <DL>
117 <DT>baseName</DT>
118 <DD>the resource name, also the assembly base
119 name</DD>
120 </DL>
121 </BLOCKQUOTE>
123 <H4>See Also</H4>
125 <BLOCKQUOTE>
126 <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
127 </BLOCKQUOTE>
129 <HR>
131 <A NAME="GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%2C%20System.Globalization.CultureInfo%29%20Method"><H3>GettextResourceManager.GetPluralString(System.String, System.String, long, System.Globalization.CultureInfo) Method</H3>
133 <BLOCKQUOTE>
134 <TABLE COLS="1" ROWS="1" WIDTH="100%">
135 <TR><TD BGCOLOR="#C0C0C0"><PRE>public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n, System.Globalization.CultureInfo culture);</PRE></TD></TR>
136 </TABLE>
137 </BLOCKQUOTE>
139 <H4>Summary</H4>
141 <BLOCKQUOTE>
143 Returns the translation of <I>msgid</I> and
144 <I>msgidPlural</I> in a given culture, choosing the right
145 plural form depending on the number <I>n</I>.
146 </BLOCKQUOTE>
148 <H4>Parameters</H4>
150 <BLOCKQUOTE>
151 <DL>
152 <DT>msgid</DT>
153 <DD>the key string to be translated, an ASCII
154 string</DD>
155 <DT>msgidPlural</DT>
156 <DD>the English plural of <I>msgid</I>,
157 an ASCII string</DD>
158 <DT>n</DT>
159 <DD>the number, should be &gt;= 0</DD>
160 </DL>
161 </BLOCKQUOTE>
163 <H4>Return Value</H4>
165 <BLOCKQUOTE>
166 the translation, or <I>msgid</I> or
167 <I>msgidPlural</I> if none is found
168 </BLOCKQUOTE>
170 <H4>See Also</H4>
172 <BLOCKQUOTE>
173 <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
174 </BLOCKQUOTE>
176 <HR>
178 <A NAME="GettextResourceManager.GetPluralString%28System.String%2C%20System.String%2C%20long%29%20Method"><H3>GettextResourceManager.GetPluralString(System.String, System.String, long) Method</H3>
180 <BLOCKQUOTE>
181 <TABLE COLS="1" ROWS="1" WIDTH="100%">
182 <TR><TD BGCOLOR="#C0C0C0"><PRE>public virtual System.String GetPluralString(System.String msgid, System.String msgidPlural, long n);</PRE></TD></TR>
183 </TABLE>
184 </BLOCKQUOTE>
186 <H4>Summary</H4>
188 <BLOCKQUOTE>
190 Returns the translation of <I>msgid</I> and
191 <I>msgidPlural</I> in the current culture, choosing the
192 right plural form depending on the number <I>n</I>.
193 </BLOCKQUOTE>
195 <H4>Parameters</H4>
197 <BLOCKQUOTE>
198 <DL>
199 <DT>msgid</DT>
200 <DD>the key string to be translated, an ASCII
201 string</DD>
202 <DT>msgidPlural</DT>
203 <DD>the English plural of <I>msgid</I>,
204 an ASCII string</DD>
205 <DT>n</DT>
206 <DD>the number, should be &gt;= 0</DD>
207 </DL>
208 </BLOCKQUOTE>
210 <H4>Return Value</H4>
212 <BLOCKQUOTE>
213 the translation, or <I>msgid</I> or
214 <I>msgidPlural</I> if none is found
215 </BLOCKQUOTE>
217 <H4>See Also</H4>
219 <BLOCKQUOTE>
220 <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
221 </BLOCKQUOTE>
223 <HR>
225 <A NAME="GettextResourceManager.GetString%28System.String%2C%20System.Globalization.CultureInfo%29%20Method"><H3>GettextResourceManager.GetString(System.String, System.Globalization.CultureInfo) Method</H3>
227 <BLOCKQUOTE>
228 <TABLE COLS="1" ROWS="1" WIDTH="100%">
229 <TR><TD BGCOLOR="#C0C0C0"><PRE>public override System.String GetString(System.String msgid, System.Globalization.CultureInfo culture);</PRE></TD></TR>
230 </TABLE>
231 </BLOCKQUOTE>
233 <H4>Summary</H4>
235 <BLOCKQUOTE>
237 Returns the translation of <I>msgid</I> in a given culture.
238 </BLOCKQUOTE>
240 <H4>Parameters</H4>
242 <BLOCKQUOTE>
243 <DL>
244 <DT>msgid</DT>
245 <DD>the key string to be translated, an ASCII
246 string</DD>
247 </DL>
248 </BLOCKQUOTE>
250 <H4>Return Value</H4>
252 <BLOCKQUOTE>
253 the translation of <I>msgid</I>, or
254 <I>msgid</I> if none is found
255 </BLOCKQUOTE>
257 <H4>See Also</H4>
259 <BLOCKQUOTE>
260 <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
261 </BLOCKQUOTE>
263 <HR>
265 <A NAME="GettextResourceManager.GetString%28System.String%29%20Method"><H3>GettextResourceManager.GetString(System.String) Method</H3>
267 <BLOCKQUOTE>
268 <TABLE COLS="1" ROWS="1" WIDTH="100%">
269 <TR><TD BGCOLOR="#C0C0C0"><PRE>public override System.String GetString(System.String msgid);</PRE></TD></TR>
270 </TABLE>
271 </BLOCKQUOTE>
273 <H4>Summary</H4>
275 <BLOCKQUOTE>
277 Returns the translation of <I>msgid</I> in the current
278 culture.
279 </BLOCKQUOTE>
281 <H4>Parameters</H4>
283 <BLOCKQUOTE>
284 <DL>
285 <DT>msgid</DT>
286 <DD>the key string to be translated, an ASCII
287 string</DD>
288 </DL>
289 </BLOCKQUOTE>
291 <H4>Return Value</H4>
293 <BLOCKQUOTE>
294 the translation of <I>msgid</I>, or
295 <I>msgid</I> if none is found
296 </BLOCKQUOTE>
298 <H4>See Also</H4>
300 <BLOCKQUOTE>
301 <A HREF="GNU_Gettext_GettextResourceManager.html" TARGET="contents">GNU.Gettext.GettextResourceManager Class</A>, <A HREF="GNU_Gettext.html" TARGET="members">GNU.Gettext Namespace</A>
302 </BLOCKQUOTE>
304 </BODY>
305 </HTML>