CodeAttribute Interface

Allows manipulation of a code element's attribute.

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

Syntax

'Declaration
<GuidAttribute("0CFBC2BE-0D4E-11D3-8997-00C04F688DDE")> _
Public Interface CodeAttribute
'Usage
Dim instance As CodeAttribute
[GuidAttribute("0CFBC2BE-0D4E-11D3-8997-00C04F688DDE")]
public interface CodeAttribute
[GuidAttribute(L"0CFBC2BE-0D4E-11D3-8997-00C04F688DDE")]
public interface class CodeAttribute
public interface CodeAttribute

Remarks

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.

Note

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

See Also

Reference

CodeAttribute Members

EnvDTE Namespace