Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
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.

CodeAttribute Interface

Allows manipulation of a code element's attribute.

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

[GuidAttribute("0CFBC2BE-0D4E-11D3-8997-00C04F688DDE")]
public interface CodeAttribute

The CodeAttribute object represents one COM metadata attribute associated with a code element. You can get and set the value of a code attribute with the CodeAttribute object.

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 by Using the Code Model (Visual Basic).

Community Additions

ADD
Show:
© 2015 Microsoft