다음을 통해 공유


vsCMFunction Enum

Definition

A constant indicating the type of function, such as a property-get or a method.

public enum class vsCMFunction
public enum class vsCMFunction
enum vsCMFunction
public enum vsCMFunction
type vsCMFunction = 
Public Enum vsCMFunction
Inheritance
vsCMFunction

Fields

Name Value Description
vsCMFunctionOther 0

A type of function not in this list.

vsCMFunctionConstructor 1

A constructor.

vsCMFunctionPropertyGet 2

A property get.

vsCMFunctionPropertyLet 4

A property let.

vsCMFunctionPropertySet 8

A property set.

vsCMFunctionPutRef 16

A put reference.

vsCMFunctionPropertyAssign 32

A property assignment function.

vsCMFunctionSub 64

A subexpression.

vsCMFunctionFunction 128

A function.

vsCMFunctionTopLevel 256

A top-level function.

vsCMFunctionDestructor 512

A destructor.

vsCMFunctionOperator 1024

An operator.

vsCMFunctionVirtual 2048

A virtual function.

vsCMFunctionPure 4096

A pure function.

vsCMFunctionConstant 8192

A constant.

vsCMFunctionShared 16384

A shared function.

vsCMFunctionInline 32768

An inline function.

vsCMFunctionComMethod 65536

A COM method.

Remarks

The vsCMFunction values are meant to be bitwise OR'd together. Visual C++ combines several of these values to accurately describe a function. For example:

virtual int MyProc() const = 0;

MyProc results in a value of (vsCMFunctionFunction | vsCMFunctionVirtual | vsCMFunctionConstant | vsCMFunctionPure | vsCMFunctionTopLevel).

Another example:

inline void AnotherOne()

results in a value of (vsCMFunctionSub | vsCMFunctionInline, vsCMFunctionTopLevel).

Applies to