Share via


SharePointProjectItemIconAttribute Constructor

Initializes a new instance of the SharePointProjectItemIconAttribute class.

Namespace:  Microsoft.VisualStudio.SharePoint
Assembly:  Microsoft.VisualStudio.SharePoint (in Microsoft.VisualStudio.SharePoint.dll)

Syntax

'Declaration
Public Sub New ( _
    iconResourceName As String _
)
public SharePointProjectItemIconAttribute(
    string iconResourceName
)

Parameters

  • iconResourceName
    Type: 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.

.NET Framework Security

See Also

Reference

SharePointProjectItemIconAttribute Class

Microsoft.VisualStudio.SharePoint Namespace