Class View and Object Browser Icons

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Class View and Object Browser Icons.

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.

IconDescriptionIconDescription
Namespace SymbolNamespaceDeclaration SymbolMethod or Function
Class IconClassOperator SymbolOperator
Lollipop Interface SymbolInterfaceProperty SymbolProperty
Structure SymbolStructureField IconField or Variable
Union SymbolUnionEvent SymbolEvent
Enumeration SymbolEnumConstant IconConstant
Type Definition SymbolTypeDefEnumerate Item SymbolEnum Item
Visual Studio Module SymbolModuleMap Item SymbolMap Item
Extension Method SymbolExtension MethodDeclaration SymbolExternal Declaration
Delegate SymbolDelegateError Icon for Class View and Object BrowserError
Exception SymbolExceptionTemplate SymbolTemplate
Map SymbolMapError Exclamation Point SymbolUnknown
Type Forwarding SymbolType Forwarding

The following signal icons apply to all the previous icons and indicate their accessibility.

System_CAPS_ICON_note.jpg Note

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.

IconDescription
<No Signal Icon>Public. Accessible from anywhere in this component and from any component that references it.
Signal Protected SymbolProtected. Accessible from the containing class or type, or those derived from the containing class or type.
Signal Private SymbolPrivate. Accessible only in the containing class or type.
Signal Sealed SymbolSealed.
Signal Friend/Internal SymbolFriend/Internal. Accessible only from the project.
Signal Icon ArrowShortcut. A shortcut to the object.

Viewing the Structure of Code

Show: