This topic has not yet been rated - Rate this topic

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;

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.

Platforms: See .NET Framework System Requirements.

Header: CorHdr.h

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

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.