共用方式為


ChangeTag Class

Definition

A tag associated with a span of modified text.

public ref class ChangeTag : Microsoft::VisualStudio::Text::Tagging::ITag
[Windows::Foundation::Metadata::WebHostHidden]
class ChangeTag : Microsoft::VisualStudio::Text::Tagging::ITag
public class ChangeTag : Microsoft.VisualStudio.Text.Tagging.ITag
type ChangeTag = class
    interface ITag
Public Class ChangeTag
Implements ITag
Inheritance
ChangeTag
Implements

Remarks

Use the CreateTagAggregator method of IViewTagAggregatorFactoryService to instantiate an aggregator of change tags.

Change taggers lose their change history when they are no longer consumed by any tag aggregators. They resume tracking changes if a new aggregator is created.

Constructors

ChangeTag(ChangeTypes)

Initializes a new instance of ChangeTag with the specified change type.

Properties

ChangeTypes

Gets the type of change for the tag.

Applies to