Sdílet prostřednictvím


vsCMAddPosition Enum

Definition

Determines the position of the new code element in relation to the parent object.

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

Fields

Name Value Description
vsCMAddPositionInvalid -3

Enumeration is uninitialized.

vsCMAddPositionDefault -2

The default placement determined by the library (same as vsCMAddPositionEnd).

vsCMAddPositionEnd -1

Item inserted at end of parent object.

vsCMAddPositionStart 0

Item inserted at beginning of parent object.

Remarks

The position is determined by the item being inserted and the parent object. For example, if a variable declaration item is being inserted into a class object (specifying vsCMAddPositionStart), the declaration is placed directly after the opening brace of the class declaration.

Note

The vsCMAddPositionInvalid constant indicates that the enumeration has not been previously initialized by the programmer. The Visual C++ code model library does not use this value.

Applies to