Name Property
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer

CodeProperty.Name Property

Sets or gets the name of the object.

Namespace: EnvDTE
Assembly: EnvDTE (in envdte.dll)

string this { get; set; }
/** @property */
String get_Name ()

/** @property */
void set_Name (String pVal)

function get Name () : String

function set Name (pVal : String)

Property Value

A string representing the name of the CodeProperty object.


The values of code model elements such as classes, structs, functions, attributes, delegates, and so forth can be non-deterministic after making certain kinds of edits, meaning that their values cannot be relied upon to always remain the same. For more information, see the section Code Model Element Values Can Change in Discovering Code with the Code Model (Visual Basic).

© 2015 Microsoft