다음을 통해 공유


CorMethodSemanticsAttr Enumeration

Contains values that describe the relationship between a method and an associated property or event.

typedef enum CorMethodSemanticsAttr {
        
    msSetter    =   0x0001,
    msGetter    =   0x0002,
    msOther     =   0x0004,
    msAddOn     =   0x0008,
    msRemoveOn  =   0x0010,
    msFire      =   0x0020,
        
} CorMethodSemanticsAttr;

Members

Member

Description

msSetter

Specifies that the method is a set accessor for a property.

msGetter

Specifies that the method is a get accessor for a property.

msOther

Specifies that the method has a relationship to a property or an event other than those defined here.

msAddOn

Specifies that the method adds handler methods for an event.

msRemoveOn

Specifies that the method removes handler methods for an event.

msFire

Specifies that the method raises an event.

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