vsCMFunction Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
vsCMFunctionComMethod | 65536 | A COM method. |
vsCMFunctionConstant | 8192 | A constant. |
vsCMFunctionConstructor | 1 | A constructor. |
vsCMFunctionDestructor | 512 | A destructor. |
vsCMFunctionFunction | 128 | A function. |
vsCMFunctionInline | 32768 | An inline function. |
vsCMFunctionOperator | 1024 | An operator. |
vsCMFunctionOther | 0 | A type of function not in this list. |
vsCMFunctionPropertyAssign | 32 | A property assignment function. |
vsCMFunctionPropertyGet | 2 | A property get. |
vsCMFunctionPropertyLet | 4 | A property let. |
vsCMFunctionPropertySet | 8 | A property set. |
vsCMFunctionPure | 4096 | A pure function. |
vsCMFunctionPutRef | 16 | A put reference. |
vsCMFunctionShared | 16384 | A shared function. |
vsCMFunctionSub | 64 | A subexpression. |
vsCMFunctionTopLevel | 256 | A top-level function. |
vsCMFunctionVirtual | 2048 | A virtual function. |
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)
.