ITextViewLine::IdentityTag Property

 

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

Namespace:   Microsoft.VisualStudio.Text.Formatting
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

property Object^ IdentityTag {
	Object^ get();
}

Property Value

Type: System::Object^

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

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 modified, or when the text view lines appear at different locations in the view.

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

 

Return to top
Show: