SharePointProjectItemIconAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the icon to display in Solution Explorer for a custom project item type.
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class SharePointProjectItemIconAttribute : Attribute
- Inheritance
-
SharePointProjectItemIconAttribute
- Attributes
Remarks
Apply this attribute to an implementation of the ISharePointProjectItemTypeProvider interface to specify the icon to display for the project item type. For more information, see How to: Define a SharePoint Project Item Type.
Use an embedded 24-bit .bmp or .ico resource for the icon, with magenta (255,0,255) as the transparent color. The recommended size for icons is 16 pixels wide by 16 pixels high.
Constructors
| SharePointProjectItemIconAttribute(String) |
Initializes a new instance of the SharePointProjectItemIconAttribute class. |
Properties
| IconResourceName |
Gets or sets the namespace qualified name of an embedded .bmp or .ico resource to use as the icon for a custom project item type. |