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项的图像。