ClassViewImages Class

 

Represents an image list used by Class View, Model Explorer, and IntelliSense.

Namespace:   Microsoft.VisualStudio.Modeling.Shell
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.12.0.dll)

System::Object
  Microsoft.VisualStudio.Modeling.Shell::ClassViewImages

public ref class ClassViewImages abstract sealed 

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticGetImageList(IServiceProvider^)

Get the list of images used within the given service provider.

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticAccessTypeCount

Provides the number of access types that are available.

System_CAPS_pubfieldSystem_CAPS_staticConstantIndex

Provides the index for the Constant icon.

System_CAPS_pubfieldSystem_CAPS_staticEnumMemberIndex

Provides the index for the EnumMember icon.

System_CAPS_pubfieldSystem_CAPS_staticErrorIndex

Provides the index for the Error icon.

System_CAPS_pubfieldSystem_CAPS_staticEventIndex

Provides the index for the Event icon.

System_CAPS_pubfieldSystem_CAPS_staticFieldIndex

Provides the index for the Field icon.

System_CAPS_pubfieldSystem_CAPS_staticFriendModifier

Provides the index for the Friend access type.

System_CAPS_pubfieldSystem_CAPS_staticInternalModifier

Provides the index for the Internal access type.

System_CAPS_pubfieldSystem_CAPS_staticMethodIndex

Provides the index number for the Method icon.

System_CAPS_pubfieldSystem_CAPS_staticPrivateModifier

Provides the index number for the Private access type.

System_CAPS_pubfieldSystem_CAPS_staticPropertyIndex

Provides the index number for the Property icon.

System_CAPS_pubfieldSystem_CAPS_staticProtectedModifier

Provides the index number for the Protected access type.

System_CAPS_pubfieldSystem_CAPS_staticPublicModifier

Provides the index number for the Public access type.

The image list contains icons, which are arranged by access type. The image list is used for IntelliSense, the Class View tab, and the Model Explorer tab in the Domain-Specific Language Designer.

Different icon groups are available for different access types. Access types include public, protected, and private. Icons can be access types or items that are assigned to access types, such as methods and events. The following table lists the icons that are available in the image list and their indexes.

Icon

Index

Public

0

Internal

1

Friend

2

Protected

3

Private

4

Constant

AccessTypeCount * 1

EnumMember

AccessTypeCount * 4

Event

AccessTypeCount * 5

Field

AccessTypeCount * 7

Method

AccessTypeCount * 12

Property

AccessTypeCount * 17

Error

AccessTypeCount * 31

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: