CorParamAttr Enumeration

Contains values that describe the metadata of a method parameter.

Syntax

typedef enum CorParamAttr {  

    pdIn                        =   0x0001,  
    pdOut                       =   0x0002,  
    pdOptional                  =   0x0010,  

    pdReservedMask              =   0xf000,  
    pdHasDefault                =   0x1000,  
    pdHasFieldMarshal           =   0x2000,  

    pdUnused                    =   0xcfe0  

} CorParamAttr;  

Members

Member Description
pdIn Specifies that the parameter is passed into the method call.
pdOut Specifies that the parameter is passed from the method return.
pdOptional Specifies that the parameter is optional.
pdReservedMask Reserved for internal use by the common language runtime.
pdHasDefault Specifies that the parameter has a default value.
pdHasFieldMarshal Specifies that the parameter has marshaling information.
pdUnused Unused.

Requirements

Platforms: See System Requirements.

Header: CorHdr.h

.NET Framework Versions: Available since 1.0

See Also

Metadata Enumerations