DashboardItem Constructor (String, String, Uri, ImageSource)
Lo siguiente se aplica a v2.
Inicializa una nueva instancia de la clase DashboardItem.
Espacio de nombres: Microsoft.WebMatrix.Extensibility
Ensamblado: Microsoft.WebMatrix.Extensibility (en Microsoft.WebMatrix.Extensibility.dll)
Sintaxis
'Declaración
Public Sub New ( _
title As String, _
description As String, _
uri As Uri, _
image As ImageSource _
)
'Uso
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
)
Parámetros
title
Tipo: System.StringTítulo del elemento.
description
Tipo: System.StringDescripción del elemento.
uri
Tipo: System.UriURI del elemento.
image
Tipo: System.Windows.Media.ImageSourceImagen del elemento.