CorParamAttr Enumeration

Contains values that describe the metadata of a method parameter.

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 .NET Framework System Requirements.

Header: CorHdr.h

.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0

See Also

Other Resources

Metadata Enumerations