SharePointProjectItemIconAttribute Class
Specifies the icon to display in Solution Explorer for a custom project item type.
Assembly: Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)
System::Attribute
Microsoft.VisualStudio.SharePoint::SharePointProjectItemIconAttribute
| Name | Description | |
|---|---|---|
![]() | SharePointProjectItemIconAttribute(String^) | Initializes a new instance of the SharePointProjectItemIconAttribute class. |
| Name | Description | |
|---|---|---|
![]() | 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. |
![]() | TypeId | (Inherited from Attribute.) |
| Name | Description | |
|---|---|---|
![]() | Equals(Object^) | (Inherited from Attribute.) |
![]() | GetHashCode() | (Inherited from Attribute.) |
![]() | GetType() | (Inherited from Object.) |
![]() | IsDefaultAttribute() | (Inherited from Attribute.) |
![]() | Match(Object^) | (Inherited from Attribute.) |
![]() | ToString() | (Inherited from Object.) |
| Name | Description | |
|---|---|---|
![]() ![]() | _Attribute::GetIDsOfNames(Guid%, IntPtr, UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfo(UInt32, UInt32, IntPtr) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::GetTypeInfoCount(UInt32%) | (Inherited from Attribute.) |
![]() ![]() | _Attribute::Invoke(UInt32, Guid%, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr) | (Inherited from Attribute.) |
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.
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



