共用方式為


ITextViewLine.IdentityTag Property

Definition

Gets a tag that can be used to track the identity of an ITextViewLine across layouts in the view.

public:
 property System::Object ^ IdentityTag { System::Object ^ get(); };
public:
 property Platform::Object ^ IdentityTag { Platform::Object ^ get(); };
public object IdentityTag { get; }
member this.IdentityTag : obj
Public ReadOnly Property IdentityTag As Object

Property Value

A tag that can be used to track the identity of an ITextViewLine across layouts in the view.

Remarks

If an ITextViewLine has the same identity tag as the ITextViewLine from an earlier layout, then both text view lines correspond to the same text, even when the text has been moved without being modifed, or when the text view lines appear at different locations in the view.

This property can be called even when the ITextViewLine is invalid.

Applies to