Share via


TabletDevice.ProductId 屬性

定義

取得 Tablet 裝置的產品識別項。

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

屬性值

Tablet 裝置的產品識別項。

範例

下列程式代碼範例示範 ProductId 屬性。

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

備註

平板電腦裝置的製造商負責新增此字串。 如果平板電腦裝置沒有標識碼,則傳回值是空的。

適用於