|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
dose the attribute know what the class or property is?hi everybody,
i am using some attribute for a proerty. could the attribute get some class or property information by itself? i mean, dose the attribute know what the class or property is? and how? thanks! >i am using some attribute for a proerty. could the attribute get some class No, an attribute instance doesn't automatically know what it's applied>or property information by itself? i mean, dose the attribute know what the >class or property is? and how? to. Mattias -- Mattias Sjögren [C# MVP] mattias @ mvps.org http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com Please reply only to the newsgroup. i c.
thanks. Show quote "Mattias Sjögren" wrote: > >i am using some attribute for a proerty. could the attribute get some class > >or property information by itself? i mean, dose the attribute know what the > >class or property is? and how? > > No, an attribute instance doesn't automatically know what it's applied > to. > > > Mattias > > -- > Mattias Sjögren [C# MVP] mattias @ mvps.org > http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com > Please reply only to the newsgroup. > |
|||||||||||||||||||||||