Share via


TabletDevice.ProductId Propriété

Définition

Obtient l'identificateur de produit du périphérique 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 du périphérique 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 la tablette est responsable de l’ajout de cette chaîne. La valeur de retour est vide si la tablette n’a pas d’identificateur.

S’applique à