DashboardItem Constructor (String, String, Uri, Bitmap)
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 Bitmap _
)
'Uso
Dim title As String
Dim description As String
Dim uri As Uri
Dim image As Bitmap
Dim instance As New DashboardItem(title, description, _
uri, image)
public DashboardItem(
string title,
string description,
Uri uri,
Bitmap image
)
public:
DashboardItem(
String^ title,
String^ description,
Uri^ uri,
Bitmap^ image
)
new :
title:string *
description:string *
uri:Uri *
image:Bitmap -> DashboardItem
public function DashboardItem(
title : String,
description : String,
uri : Uri,
image : Bitmap
)
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.Drawing.BitmapImagen del elemento.