ClassViewImages Class

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

Inheritance Hierarchy

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

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

Syntax

'Declaração
Public NotInheritable Class ClassViewImages
public static class ClassViewImages
public ref class ClassViewImages abstract sealed
[<AbstractClass>]
[<Sealed>]
type ClassViewImages =  class end
public final class ClassViewImages

The ClassViewImages type exposes the following members.

Methods

  Name Description
Public methodStatic member GetImageList Get the list of images used within the given service provider.

Top

Fields

  Name Description
Public fieldStatic member AccessTypeCount Provides the number of access types that are available.
Public fieldStatic member ConstantIndex Provides the index for the Constant icon.
Public fieldStatic member EnumMemberIndex Provides the index for the EnumMember icon.
Public fieldStatic member ErrorIndex Provides the index for the Error icon.
Public fieldStatic member EventIndex Provides the index for the Event icon.
Public fieldStatic member FieldIndex Provides the index for the Field icon.
Public fieldStatic member FriendModifier Provides the index for the Friend access type.
Public fieldStatic member InternalModifier Provides the index for the Internal access type.
Public fieldStatic member MethodIndex Provides the index number for the Method icon.
Public fieldStatic member PrivateModifier Provides the index number for the Private access type.
Public fieldStatic member PropertyIndex Provides the index number for the Property icon.
Public fieldStatic member ProtectedModifier Provides the index number for the Protected access type.
Public fieldStatic member PublicModifier Provides the index number for the Public access type.

Top

Remarks

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

Thread Safety

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

See Also

Reference

Microsoft.VisualStudio.Modeling.Shell Namespace