System.Reflection.CustomAttributeData.NamedArguments Property

Gets the list of named arguments specified for the attribute instance represented by the System.Reflection.CustomAttributeData object.

Syntax

public virtual IList<CustomAttributeNamedArgument> NamedArguments { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This method gets the named arguments that were specified for the custom attribute instance without executing any of the custom attribute code. Thus, it can be used in the Reflection-only context.

The list that is returned contains only the named arguments that were specified for the attribute instance.

Use the CustomAttributeData.ConstructorArguments method to get the positional arguments that were specified for the attribute instance.

Requirements

Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0