class CustomAttributeData
in global :: System . Reflection
Provides access to custom attribute data for assemblies, modules, types, members and parameters that are loaded into the reflection-only context.
public Type AttributeType { get; }
Gets the type of the attribute.
- Returns The type of the attribute.
public IList<CustomAttributeTypedArgument> ConstructorArguments { get; }
Gets the list of positional arguments specified for the attribute instance represented by the object.
- Returns A collection of structures that represent the positional arguments specified for the custom attribute instance.
public IList<CustomAttributeNamedArgument> NamedArguments { get; }
Gets the list of named arguments specified for the attribute instance represented by the object.
- Returns A collection of structures that represent the named arguments specified for the custom attribute instance.