Top "Attributes" questions

The attributes tag should be used for any issues relating to a property of an object, element, or file, etc.

How do I GetCustomAttributes?

I have tried the following code using the 2.0 framework and I get an attribute back, but when I try this …

c# compact-framework attributes marshalling getcustomattributes
Can I define properties in partial classes, then mark them with attributes in another partial class?

Is there a way I can have a generated code file like so: public partial class A { public string a {…

c# attributes code-generation partial-classes
Jquery - How to find an element using class and attribute

I am trying to figure out the most efficient way to find my element. Following i smy structure: <div …

jquery class find attributes element
Can anybody please explain (my $self = shift) in Perl

I'm having a really hard time understanding the intersection of OO Perl and my $self = shift; The documentation on these …

perl attributes self shift moose
ThreadStatic v.s. ThreadLocal<T>: is generic better than attribute?

[ThreadStatic] is defined using attribute while ThreadLocal<T> uses generic. Why different design solutions were chosen? What are …

c# generics attributes thread-local threadstatic
How to get next or previous attribute id in jQuery?

I have the following code <a class="getty" id="1" href="/...">One<./a> <a class="getty" …

javascript jquery ajax attributes jquery-attributes
Overriding AuthorizeCore in custom Authorize attribute results in "no suitable method found to override" error

I'm trying to build custom AuthorizeAttribute, so in my Core project (a class library) I have this code: using System; …

asp.net-mvc attributes authorization
What is the point of noreturn?

[dcl.attr.noreturn] provides the following example: [[ noreturn ]] void f() { throw "error"; // OK } but I do not understand what is …

c++ c++11 attributes noreturn
c# Hide a property in datagridview with datasource

I think there must be an attribute to hide a public property from the datagridview. But I can't find it.

c# attributes datasource
Python - AttributeError: 'NoneType' object has no attribute 'findAll'

I have written my first bit of python code to scrape a website. import csv import urllib2 from BeautifulSoup import …

python attributes findall nonetype