Visual Studio Automation and Extensibility Reference
vsCMPart Enumeration
Represents the portion of a code construct.
Namespace:
EnvDTE
Assembly:
EnvDTE (in EnvDTE.dll)

Syntax
Public Enumeration vsCMPart
public enum class vsCMPart

Members
| Member name | Description |
|---|
| vsCMPartName | The name of the code construct. |
| vsCMPartAttributes | The attributes that apply to the code construct, minus the attribute delimiters. |
| vsCMPartHeader | The header of the code construct. |
| vsCMPartWhole | The entire code construct. |
| vsCMPartBody | The body of the code construct, minus the body delimiters. |
| vsCMPartNavigate | The location in the source code to which the insertion point moves when you double-click an element in Class View. |
| vsCMPartAttributesWithDelimiter | The applicable attributes and the attribute delimiters. |
| vsCMPartBodyWithDelimiter | The body of the code construct and its delimiters. |
| vsCMPartHeaderWithAttributes | The code construct's header and its attributes. |
| vsCMPartWholeWithAttributes | The entire code construct and its attributes. |

See Also