The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.


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

See Also

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft