Partager via


TabletDevice.ProductId Propriété

Définition

Obtient l’identificateur de produit pour l’appareil tablette.

public:
 property System::String ^ ProductId { System::String ^ get(); };
public string ProductId { get; }
member this.ProductId : string
Public ReadOnly Property ProductId As String

Valeur de propriété

Identificateur de produit pour l’appareil tablette.

Exemples

L’exemple de code suivant illustre la ProductId propriété.

textbox1.AppendText("ProductId: " + myTabletDevice.ProductId + "\n");
textbox1.AppendText("ProductId: " & myTabletDevice.ProductId & vbCrLf)

Remarques

Le fabricant de l’appareil tablette est responsable de l’ajout de cette chaîne. La valeur de retour est vide si l’appareil tablette n’a pas d’identificateur.

S’applique à