May 2010
Intermediate to advanced
1272 pages
61h 18m
English
According to the particular nature of your custom attributes, you can decide whether multiple instances can be applied to programming elements. This is accomplished by setting the AllowMultiple property as True in the AttributeUsage. The following is an example:

Notice that AllowMultiple is optional and thus is invoked as a named parameter. The following is an example on how you apply multiple instances of an attribute:

In the particular example of the DocumentProperties attribute, multiple instances probably ...
Read now
Unlock full access