Delen via


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

Header: CorHdr.h

.NET Framework Versions: 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