Skip to Main Content
Microsoft Visual C++/CLI Step by Step
book

Microsoft Visual C++/CLI Step by Step

by Julian Templeman
August 2013
Beginner content levelBeginner
540 pages
12h 51m
English
Microsoft Press
Content preview from Microsoft Visual C++/CLI Step by Step

Chapter 23. Attributes and Reflection

After completing this chapter, you will be able to:

  • Describe what attributes are.

  • Use attributes to add metadata to managed types.

  • Create your own attribute types.

  • Access attribute metadata from code.

This chapter introduces metadata and attributes and shows you how to start defining and manipulating metadata for your own .NET types.

Metadata and attributes

The concept of metadata is central to the way the Microsoft .NET Framework works, so to be an effective .NET programmer, you need to know what it is and how to work with it. Metadata is data attached to .NET data types that carries information about those types (in a broader sense, it is data that describes data). A lot of metadata contains information that can’t ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Microsoft Visual C++ Windows Applications by Example

Microsoft Visual C++ Windows Applications by Example

Stefan Bjornander
Visual Basic 2015 Unleashed

Visual Basic 2015 Unleashed

Alessandro Del Sole
Build Windows 8 Apps with Microsoft Visual C++ Step by Step

Build Windows 8 Apps with Microsoft Visual C++ Step by Step

Paolo Pialorsi Luca Regnicoli and Roberto Brunetti

Publisher Resources

ISBN: 9780735675162Purchase book