DashboardItem 建構函式 (String, String, Uri, ImageSource)
適用於版本2
初始化 DashboardItem 類別的新執行個體。
命名空間: Microsoft.WebMatrix.Extensibility
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Public Sub New ( _
title As String, _
description As String, _
uri As Uri, _
image As ImageSource _
)
'用途
Dim title As String
Dim description As String
Dim uri As Uri
Dim image As ImageSource
Dim instance As New DashboardItem(title, description, _
uri, image)
public DashboardItem(
string title,
string description,
Uri uri,
ImageSource image
)
public:
DashboardItem(
String^ title,
String^ description,
Uri^ uri,
ImageSource^ image
)
new :
title:string *
description:string *
uri:Uri *
image:ImageSource -> DashboardItem
public function DashboardItem(
title : String,
description : String,
uri : Uri,
image : ImageSource
)
參數
title
型別:System.String項目的標題。
description
型別:System.String項目的描述。
uri
型別:System.Uri項目的 URI。
image
型別:System.Windows.Media.ImageSource項目的影像。