SharePointProjectItemIconAttribute 建構函式
初始化 SharePointProjectItemIconAttribute 類別的新執行個體。
命名空間: Microsoft.VisualStudio.SharePoint
組件: Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)
語法
'宣告
Public Sub New ( _
iconResourceName As String _
)
public SharePointProjectItemIconAttribute(
string iconResourceName
)
參數
- iconResourceName
型別:System.String
要當做自訂專案項目類型圖示使用之內嵌 .bmp 或 .ico 資源的命名空間限定名稱。
備註
使用 24 位元影像做為圖示,洋紅色 (255,0,255) 做為透明色彩。 建議的圖示大小為 16 像素寬乘以 16 像素高。
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。