This documentation is archived and is not being maintained.

CodeVariable.Type Property

Sets or gets an object representing the programmatic type.

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

CodeTypeRef Type { get; set; }
/** @property */
CodeTypeRef get_Type ()

/** @property */
void set_Type (CodeTypeRef pCodeTypeRef)

function get Type () : CodeTypeRef

function set Type (pCodeTypeRef : CodeTypeRef)

Property Value

A CodeTypeRef 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).