Professional IronPython



Download 20,35 Mb.
Pdf ko'rish
bet200/453
Sana01.07.2022
Hajmi20,35 Mb.
#723045
1   ...   196   197   198   199   200   201   202   203   ...   453
182

CHAPTER 9
InteractIng wIth cOM Objects
ResGen outputs a 
.RESOURCES
file you can use within your application. Of course, like every 
Microsoft utility, ResGen offers a little more than simple conversion. Here’s the command line syn-
tax for ResGen:
ResGen inputFile.ext [outputFile.ext] [/str:lang[,namespace[,class[,file]]]]
ResGen [options] /compile inputFile1.ext[,outputFile1.resources] [...]
Here are the options you can use.
➤➤
/compile
: Performs a bulk conversion of files from one format to another format. Typically, 
you use this feature with a response file where you provide a list of files to convert.


/str:
language
[, 
namespace
[, 
classname
[, 
filename
]]]
: Defines a strongly typed 
resource class using the specified programming language that relies on Code Document Object 
Model (CodeDOM) (see 
http://msdn.microsoft.com/library/y2k85ax6.aspx
for details). 
To ensure that the strongly typed resource class works properly, the name of your output file, 
without the 
.RESOURCES
extension, must match the 
[namespace.]classname
of your strongly 
typed resource class. You may need to rename your output file before using it or embedding it 
into an assembly.


/useSourcePath
: Specifies that ResGen uses each source file’s directory as the current directory 
for resolving relative file paths.


/publicClass
: Creates the strongly typed resource class as a public class. You must use this 
command line switch with the 
/str
command line switch.


/r:
assembly
: Tells ResGen to load types from the assemblies that you specify. A 
.RESX
file 
automatically uses newer assembly types when you specify this command line switch. You 
can’t form the 
.RESX
file to rely on older assembly types.



Download 20,35 Mb.

Do'stlaringiz bilan baham:
1   ...   196   197   198   199   200   201   202   203   ...   453




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish