vsCMAddPosition Enumeration
Determines the position of the new code element in relation to the parent object.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
'Declaração
Public Enumeration vsCMAddPosition
public enum vsCMAddPosition
public enum class vsCMAddPosition
type vsCMAddPosition
public enum vsCMAddPosition
Members
Member name | Description | |
---|---|---|
vsCMAddPositionInvalid | Enumeration is uninitialized. | |
vsCMAddPositionDefault | The default placement determined by the library (same as vsCMAddPositionEnd). | |
vsCMAddPositionEnd | Item inserted at end of parent object. | |
vsCMAddPositionStart | 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.
Observação
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.