Share via


ParameterInfo.IsIn Property

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Gets a value indicating whether this is an input parameter.

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

Syntax

'Declaration
Public ReadOnly Property IsIn As Boolean
public bool IsIn { get; }

Property Value

Type: System.Boolean
true if the parameter is an input parameter; otherwise, false.

Remarks

This method depends on an optional metadata flag. This flag can be inserted by compilers, but the compilers are not obligated to do so.

This method utilizes the In flag of the ParameterAttributes enumerator.

To get the ParameterInfo array, first get the method or the constructor and then call MethodBase.GetParameters.

Version Information

Silverlight

Supported in: 5

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.