Partager via


SharePointProjectItemIconAttribute Constructor

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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: System.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