Defines the attributes that can be associated with a parameter. These are defined in CorHdr.h.
Syntax
[System.Flags]
[System.Runtime.InteropServices.ComVisible(true)]
public enum ParameterAttributes
Remarks
Members
Member Name | Description |
---|
HasDefault |
Specifies that the parameter has a default value.
|
HasFieldMarshal |
Specifies that the parameter has field marshaling information.
|
In |
Specifies that the parameter is an input parameter.
|
Lcid |
Specifies that the parameter is a locale identifier (lcid).
|
None |
Specifies that there is no parameter attribute.
|
Optional |
Specifies that the parameter is optional.
|
Out |
Specifies that the parameter is an output parameter.
|
Reserved3 |
Reserved.
|
Reserved4 |
Reserved.
|
ReservedMask |
Specifies that the parameter is reserved.
|
Retval |
Specifies that the parameter is a return value.
|
Requirements
Namespace: System.Reflection
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0