다음을 통해 공유


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: Windows 2000, Windows XP, Windows Server 2003 family

Header: CorHdr.h

.NET Framework Version: 2.0, 1.1, 1.0

See Also

Concepts

Metadata Enumerations