共用方式為


Stroke.PacketSize 屬性

取得「封包」大小 (以位元組為單位)。

命名空間:  Microsoft.Ink
組件:  Microsoft.Ink (在 Microsoft.Ink.dll 中)

語法

'宣告
Public ReadOnly Property PacketSize As Integer
'用途
Dim instance As Stroke
Dim value As Integer

value = instance.PacketSize
public int PacketSize { get; }
public:
property int PacketSize {
    int get ();
}
/** @property */
public int get_PacketSize()
public function get PacketSize () : int

屬性值

型別:System.Int32
封包大小 (以位元組為單位)。

範例

這個 C# 範例會取得與 Stroke 物件 (theStroke) 相關聯的封包大小。

int thePacketSize = theStroke.PacketSize;

這個 Microsoft Visual Basic .NET 範例會取得與 Stroke 物件 (theStroke) 相關聯的封包大小。

Dim thePacketSize As Integer = theStroke.PacketSize

平台

Windows Vista

.NET Framework 和 .NET Compact Framework 並不支援各種平台的所有版本。如需支援平台版本的相關資訊,請參閱 .NET Framework 系統需求

版本資訊

.NET Framework

支援版本:3.0

請參閱

參考

Stroke 類別

Stroke 成員

Microsoft.Ink 命名空間

Stroke.GetPacketData