DashboardItem-Konstruktor (String, String, Uri, ImageSource)
Die folgenden Ausführungen gelten für v2.
Initialisiert eine neue Instanz der DashboardItem-Klasse.
Namespace: Microsoft.WebMatrix.Extensibility
Assembly: Microsoft.WebMatrix.Extensibility (in Microsoft.WebMatrix.Extensibility.dll)
Syntax
'Declaration
Public Sub New ( _
title As String, _
description As String, _
uri As Uri, _
image As ImageSource _
)
'Usage
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
)
Parameter
title
Typ: System.StringDer Titel des Elements.
description
Typ: System.StringDie Beschreibung für das Element.
uri
Typ: System.UriDer URI für das Element.
image
Typ: System.Windows.Media.ImageSourceDas Bild für das Element.