Class View and Object Browser icons
Applies to: Visual Studio Visual Studio for Mac Visual Studio Code
Class View and the Object Browser display icons that represent code entities, for example, namespaces, classes, functions, and variables. The following table illustrates and describes the icons.
|Namespace||Method or Function|
|Structure||Field or Variable|
|Extension Method||External Declaration|
To best view the icons on this page, make sure that your Microsoft Learn theme is set to Light. You can toggle this color theme from the control that's located at the bottom left of the page, as shown in the following screenshot:
The following signal icons apply to all the previous icons and indicate their accessibility.
|<No Signal Icon>||Public. Accessible from anywhere in this component and from any component that references it.|
|Protected. Accessible from the containing class or type, or those derived from the containing class or type.|
|Private. Accessible only in the containing class or type.|
|Friend/Internal. Accessible only from the project.|
|Shortcut. A shortcut to the object.|
If your project is included in a source control database, additional signal icons may be displayed to indicate source-control status, such as checked in or checked out.
To view more of the application images and icons that appear in Visual Studio, download the Visual Studio Image Library.
Submit and view feedback for