Professional IronPython



Download 20,35 Mb.
Pdf ko'rish
bet198/453
Sana01.07.2022
Hajmi20,35 Mb.
#723045
1   ...   194   195   196   197   198   199   200   201   ...   453
 
179
Exploring ILDasm entries
It’s important to remember that interop assemblies simply provide a reference to the actual code found 
in the COM component. Even so, you can use ILDasm to find out all kinds of interesting information 
about the component. At the top level, you can see a list of all of the interfaces, classes, and enumera-
tions, as shown in Figure 9-8. The next level is to drill down into specific methods and properties, as 
shown in Figure 9-11.
fIguRE 9-11: 
Opening an interface displays all the methods it contains.
The information shown in this figure is actually the most valuable information that ILDasm provides 
because you can use it to discover the names of methods and properties you want to use in your applica-
tion. In addition, these entries often provide clues about where to look for additional information in the 
vendor help files. Sometimes these help files are a little disorganized and you might not understand how 
methods are related until you see this visual presentation of them.
It’s possible to explore the interop assembly at one more level. Double-click any of the methods, 
properties, or attributes and you’ll see a dialog box like the one shown in Figure 9-12. The amount 
of information you receive may seem paltry at first. However, look closer and you’ll discover that 
this display often tells you about calling requirements. For example, you can discover the data types 
you need to rely on to work with the COM component (something that COM documentation can’t 
tell you because the vendor doesn’t know that you’re using the component from .NET).
548592c09.indd 179
2/24/10 12:48:21 PM
www.finebook.ir


180

CHAPTER 9
InteractIng wIth cOM Objects
fIguRE 9-12: 
Discover the calling requirements for methods by reviewing the methods’ underlying code.

Download 20,35 Mb.

Do'stlaringiz bilan baham:
1   ...   194   195   196   197   198   199   200   201   ...   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