Gets the identifier of the Stroke object.
Public ReadOnly Property Id As Integer
Dim instance As Stroke Dim value As Integer value = instance.Id
public int Id { get; }
public: property int Id { int get (); }
public function get Id () : int
A Stroke object's identifier is constant over time, meaning that it never changes.
In this example, the identifier of the first selected Stroke object of an InkOverlay object is obtained.
If mInkOverlay.Selection.Count > 0 Then Dim firstSelectedID As Integer = mInkOverlay.Selection(0).Id End If
if (mInkOverlay.Selection.Count > 0) { int firstSelectedID = mInkOverlay.Selection[0].Id; }
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008