共用方式為


Stroke.Ink 屬性

取得 Stroke 物件的父代 Ink 物件。

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

語法

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

value = instance.Ink
public Ink Ink { get; }
public:
property Ink^ Ink {
    Ink^ get ();
}
/** @property */
public Ink get_Ink()
public function get Ink () : Ink

屬性值

型別:Microsoft.Ink.Ink
Stroke 物件的父代 Ink 物件。

備註

Stroke 物件只會包含在單獨一個 Ink 物件中。

範例

這個 C# 範例會傳回 Stroke 物件 (theStroke) 的父代 Ink 物件。

Ink theInk = theStroke.Ink;

這個 Microsoft Visual Basic .NET 範例會傳回 Stroke 物件 (theStroke) 的父代 Ink 物件。

Dim theInk As Ink = theStroke.Ink

平台

Windows Vista

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

版本資訊

.NET Framework

支援版本:3.0

請參閱

參考

Stroke 類別

Stroke 成員

Microsoft.Ink 命名空間

Ink