G
Guest
I'm new to custom attributes. Here's the attribute I made:
Public Class DeveloperNoteAttribute
Inherits System.Attribute
Sub New(s as String)
End Sub
End Class
Notice that I don't hold onto the string that is passed in and that I have
no variables in the class. Despite this, the string parameter that I pass in
still gets stored in metadata. Why is this? What is the purpose, therefore,
in having underlying variables in the class itself? Do they serve any
purpose? Which data is decided to get written to metadata?
-Ben
Public Class DeveloperNoteAttribute
Inherits System.Attribute
Sub New(s as String)
End Sub
End Class
Notice that I don't hold onto the string that is passed in and that I have
no variables in the class. Despite this, the string parameter that I pass in
still gets stored in metadata. Why is this? What is the purpose, therefore,
in having underlying variables in the class itself? Do they serve any
purpose? Which data is decided to get written to metadata?
-Ben