Gets a value indicating whether this is an output parameter.
Assembly: mscorlib (in mscorlib.dll)
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 Out flag of the ParameterAttributes enumerator.
The example contains a DefineMethod method that does the following:
Creates a dynamic assembly containing a MyType type.
Adds a MyMethod method to MyType. MyMethod has three parameters. The first parameter is defined with ParameterAttributes.In, the second with ParameterAttributes.Out, and the third with ParameterAttributes.Optional.
Calls TypeBuilder.CreateType to complete the type.
After executing DefineMethod, the example searches the assemblies that are currently loaded until it finds the dynamic assembly. It loads MyType from the assembly, gets a MethodInfo object for the MyMethod method, and examines the parameters. The example uses the IsIn, , and IsOptional properties to display information about the parameters.
Available since 8
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 8.1