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: StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.