共用方式為


SharePointProjectItemIconAttribute.IconResourceName 屬性

取得要當做自訂專案項目類型圖示使用之內嵌 .bmp 或 .ico 資源的命名空間限定名稱。

命名空間:  Microsoft.VisualStudio.SharePoint
組件:  Microsoft.VisualStudio.SharePoint (在 Microsoft.VisualStudio.SharePoint.dll 中)

語法

'宣告
Public Property IconResourceName As String
    Get
    Private Set
public string IconResourceName { get; private set; }

屬性值

型別:System.String
要當做自訂專案項目類型圖示使用之內嵌 .bmp 或 .ico 資源的命名空間限定名稱。

.NET Framework 安全性

請參閱

參考

SharePointProjectItemIconAttribute 類別

Microsoft.VisualStudio.SharePoint 命名空間