Bridge

AttributeTargets Enumeration

Specifies the application elements on which it is valid to apply an attribute.

Namespace:  System
Assembly:  Bridge (in Bridge.dll)

Syntax


[ExternalAttribute]
[FlagsAttribute]
public enum AttributeTargets
<ExternalAttribute> _
<FlagsAttribute> _
Public Enumeration AttributeTargets
[ExternalAttribute]
[FlagsAttribute]
public enum class AttributeTargets

Members


Member nameDescription
AssemblyAttribute can be applied to an assembly.
ModuleAttribute can be applied to a module.
ClassAttribute can be applied to a class.
StructAttribute can be applied to a structure; that is, a value type.
EnumAttribute can be applied to an enumeration.
ConstructorAttribute can be applied to a constructor.
MethodAttribute can be applied to a method.
PropertyAttribute can be applied to a property.
FieldAttribute can be applied to a field.
EventAttribute can be applied to an event.
InterfaceAttribute can be applied to an interface.
ParameterAttribute can be applied to a parameter.
DelegateAttribute can be applied to a delegate.
ReturnValueAttribute can be applied to a return value.
GenericParameterAttribute can be applied to a generic parameter.
Type
AllAttribute can be applied to any application element.