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 | |
---|---|---|
GetImageList | Get the list of images used within the given service provider. |
Top
Fields
Name | Description | |
---|---|---|
AccessTypeCount | Provides the number of access types that are available. | |
ConstantIndex | Provides the index for the Constant icon. | |
EnumMemberIndex | Provides the index for the EnumMember icon. | |
ErrorIndex | Provides the index for the Error icon. | |
EventIndex | Provides the index for the Event icon. | |
FieldIndex | Provides the index for the Field icon. | |
FriendModifier | Provides the index for the Friend access type. | |
InternalModifier | Provides the index for the Internal access type. | |
MethodIndex | Provides the index number for the Method icon. | |
PrivateModifier | Provides the index number for the Private access type. | |
PropertyIndex | Provides the index number for the Property icon. | |
ProtectedModifier | Provides the index number for the Protected access type. | |
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.