GetRequiredCustomModifiers Method

ParameterInfo.GetRequiredCustomModifiers Method ()


Gets the required custom modifiers of the parameter.

Namespace:   System.Reflection
Assembly:  mscorlib (in mscorlib.dll)

public virtual Type[] GetRequiredCustomModifiers()

Return Value

Type: System.Type[]

An array of Type objects that identify the required custom modifiers of the current parameter, such as IsConst or IsImplicitlyDereferenced.

The GetOptionalCustomModifiers and GetRequiredCustomModifiers methods are provided for designers of managed compilers. For more information on custom modifiers, see IsBoxed and related classes in the System.Runtime.CompilerServices namespace, and the metadata specification in the ECMA Partition II documentation. The documentation is available online; see ECMA C# and Common Language Infrastructure Standards on MSDN and Standard ECMA-335 - Common Language Infrastructure (CLI) on the Ecma International Web site.

.NET Framework
Available since 2.0
Return to top
© 2015 Microsoft