Freigeben über


SharePointProjectItemIconAttribute(String) Constructor

Definition

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.

Applies to