home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 2005 June (DVD) / DPPRO0605DVD.iso / dotNETSDK / SETUP.EXE / netfxsd1.cab / ReadMe_xml_3________.3643236F_FC70_11D3_A536_0090278A1BB8 < prev    next >
Encoding:
Extensible Markup Language  |  2002-06-20  |  3.8 KB  |  89 lines

  1. <?xml version='1.0'?>
  2. <?xml-stylesheet type="text/xsl" href="..\..\readme.xsl"?>
  3.  
  4. <sample>
  5. <title>Find Type Class Browser Sample</title>
  6. <title-short>FindType</title-short>
  7. <overview>
  8. This sample utility provides the user with a command line interface to provide information about types in their environment. Sometimes locating a specific type can be difficult (what namespace is it in, which DLL?) and once you have located the type - the documentation may be unavailable or it is out of date. This utility provides a simple way for a developer to determine what types are available, what module they are in and what interfaces, methods, fields, properties and events are available on the type. This sample also provides a peek into reflection.
  9. </overview>
  10. <subdirectory>Applications\TypeFinder</subdirectory>
  11. <buildsteps>
  12.    <step>
  13.       Type <richcontent bold="T">BUILD.bat</richcontent>
  14.       <richcontent> from the command line.</richcontent>      
  15.       <example>
  16.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Applications\TypeFinder\VB>Build.bat
  17.       </example>
  18.    </step>   
  19. </buildsteps>
  20. <runsteps>   
  21.    <step>
  22.       Type <b>FindType.exe</b> from the command line for a complete list of command line options for the utility.
  23.       <example>
  24.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Applications\TypeFinder\VB>FindType.exe
  25.       </example>
  26.    </step>
  27.    <step>
  28.       To find the location of each type with a word in its name type <b>FindType.exe [word]</b> from the command line.
  29.       <example>
  30.          C:\Program Files\Microsoft.NET\SDK\v1.1\Samples\Applications\TypeFinder\VB>FindType.exe String         
  31.       </example>
  32.    </step>
  33. </runsteps>
  34. <technologies>
  35.    <technology name = "Reflection" keyword="T">      
  36.       <class name = "Assembly" keyword="T">
  37.       Used to load assemblies into the AppDomain so that they can be searched for types. 
  38.       </class> 
  39.       <class name = "Module" keyword="T">
  40.       Used to get types from the Assembly/Module for comparison to the search string. 
  41.       </class>
  42.       <class name = "Type" keyword="T">
  43.       Used to get type information such as its name, namespace, and members. 
  44.       </class> 
  45.       <class name = "PropertyInfo" keyword="T">
  46.       To find information about properties in types. 
  47.       </class> 
  48.       <class name = "EventInfo" keyword="T">
  49.       Used to find information about events in types. 
  50.       </class> 
  51.       <class name = "FieldInfo" keyword="T">
  52.       Finds information about fields in types. 
  53.       </class> 
  54.       <class name = "MethodInfo" keyword="T">
  55.       Used to finds information about methods in types. 
  56.       </class> 
  57.    </technology>
  58.    <technology name = "IO" keyword="T">
  59.       <class name = "TextWriter" keyword="T">
  60.       Used by the IndentedWriter sample type to output (to the console, by default) in a generic fashion. 
  61.       </class> 
  62.    </technology>
  63.    <technology name = "Text" keyword="T">
  64.       <class name = "StringBuilder" keyword="T">
  65.       Used by the IndentedWriter sample type create a string. 
  66.       </class> 
  67.       <class name = "String" keyword="T">
  68.       Used throughout the sample to find format strings, find sub-strings, upper-case strings etc. 
  69.       </class> 
  70.    </technology>
  71.    <technology name = "Collections" keyword="T">      
  72.       <class name = "ArrayList" keyword="T">
  73.       Used by the sample to manage a growable list of strings. 
  74.       </class> 
  75.    </technology>
  76.    <technology name = "Registry" keyword="T">      
  77.       <class name = "Registry" keyword="T">
  78.       Used to create an instance of the RegistryKey type for a subkey of the LocalMachine key.
  79.       </class> 
  80.       <class name = "RegistryKey" keyword="T">
  81.       Used to read values from a key in the registry.
  82.       </class> 
  83.    </technology>
  84. </technologies>
  85. </sample>
  86.  
  87.  
  88.  
  89.