SharePointProjectItemIconAttribute(String) Constructor
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.
Initializes a new instance of the SharePointProjectItemIconAttribute class.
public:
SharePointProjectItemIconAttribute(System::String ^ iconResourceName);
public SharePointProjectItemIconAttribute (string iconResourceName);
new Microsoft.VisualStudio.SharePoint.SharePointProjectItemIconAttribute : string -> Microsoft.VisualStudio.SharePoint.SharePointProjectItemIconAttribute
Public Sub New (iconResourceName As String)
Parameters
- iconResourceName
- String
The namespace qualified name of an embedded .bmp or .ico resource to use as the icon for a custom project item type.
Remarks
Use 24-bit images 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.