Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CodeProperty2 Interface
Collapse the table of content
Expand the table of content

CodeProperty2 Interface 

An object defining a property construct in a source file.

Namespace: EnvDTE80
Assembly: EnvDTE80 (in envdte80.dll)

[GuidAttribute("33770C02-21B7-4224-A577-6877BDBA60EA")] 
public interface CodeProperty2 : CodeProperty
/** @attribute GuidAttribute("33770C02-21B7-4224-A577-6877BDBA60EA") */ 
public interface CodeProperty2 extends CodeProperty
GuidAttribute("33770C02-21B7-4224-A577-6877BDBA60EA") 
public interface CodeProperty2 extends CodeProperty

The CodeProperty2 object represents a property and determines how properties are defined in the various languages. For example, Visual Basic has two separate functions, one that gets a value and another that puts it. Together they form a property. In Visual C#, however, one declaration form declares a property and whether it has a getter and a setter.

NoteNote

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

Show:
© 2015 Microsoft