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.

How to: Edit Code Attributes

When you are in the Visual Basic Code Editor, you can use the Properties window to apply and edit attributes for your types and members. Attributes that are listed in the Properties window can be applied by setting the attribute to True or by setting the attribute's Apply property to True. After attributes are applied, you can edit them by editing the properties displayed in the Properties window. For more information, see Attributes in Visual Basic.

To apply a new attribute

  1. Locate the desired attribute in the Properties window.

  2. If the desired attribute is not listed, you must apply the attribute manually in code. For more information, see Application of Attributes.

  3. Do one of the following:

    • If the attribute has properties, set the Apply property to True.

    -or-

    • If the attribute does not have properties, set the attribute to True.

Community Additions

ADD
Show:
© 2015 Microsoft