Module 17 (Optional): Attributes

Chia sẻ: Dao Kim | Ngày: | Loại File: PDF | Số trang:42

0
65
lượt xem
5
download

Module 17 (Optional): Attributes

Mô tả tài liệu
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

This module provides students with the details about how to use attributes in code. It describes the predefined attributes that are provided by the Microsoft® .NET Framework and provides some simple examples of how to use some common attributes. The concept of custom attributes is introduced. This introduction is followed by a detailed explanation of how to define and use custom attributes. The process used to compile code that has custom attributes is also explained. Finally, the module describes how to retrieve attribute values during run time by using reflection. The procedure that is used to retrieve attribute information into an array and query the array to obtain...

Chủ đề:
Lưu

Nội dung Text: Module 17 (Optional): Attributes

Đồng bộ tài khoản