Поделиться через


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.

Icon

Description

Icon

Description

Namespace Symbol icon

Namespace

Declaration Symbol

Method or Function

Class Icon

Class

Operator Symbol

Operator

Lollipop Interface Symbol

Interface

PropertySymbolButton screenshot

Property

StructureSymbol screenshot

Structure

Field Icon

Field or Variable

UnionSymbol screenshot

Union

Event Symbol

Event

Enumeration Symbol

Enum

Constant Icon

Constant

TypeDefinitionSymbol screenshot

TypeDef

Enumerate Item Symbol

Enum Item

VisualStudioModuleSymbol screenshot

Module

Map Item Symbol

Map Item

Intrinsic Symbol

Intrinsic

Declaration Symbol

External Declaration

Delegate Symbol

Delegate

Macro Symbol

Macro

Exception Symbol

Exception

TemplateSymbol screenshot

Template

Map Symbol

Map

Error Exclamation Point Symbol

Unknown or Error

ValueTypeSymbol screenshot

Global

Type Forwarding icon

Type Forwarding

Extension Method

Extension Method

 

 

Signal Icons

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

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.

Icon

Description

<No Signal Icon>

Public. Accessible from anywhere in this component and from any component that references it.

SignalKeySymbol screenshot

Protected. Accessible from the containing class or type, or those derived from the containing class or type.

SignalLockSymbol screenshot

Private. Accessible only in the containing class or type.

SignalEnvelopeSymbol screenshot

Internal. Accessible only from this component.

SignalDiamondSymbol screenshot

Friend. Accessible only from the project.

SignalIconArrow screenshot

Shortcut. A shortcut to the object.

See Also

Reference

Class View

Object Browser

Other Resources

Viewing Classes and Their Members

Browsing Through Code and Components