|
-
February 24th, 2008, 07:15 PM
#1
[RESOLVED] Attributes Aliases?
Hello,
I'm wondering how .Net is implementing the "alias" of an attribute?
Code:
// using DisplayNameAttribute class.
[DisplayName("My Name!")
public String Foo
{ get; set; }
As I understand, it's using the "DisplayNameAttribute" class implementation, but to call it, you can omit the "Attribute" part. Is that something that only .Net classes can do?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|