Dela via


ITagContract Interface

Definition

A tag that can be associated with a span of text.

[MessagePack.Union(0, typeof(Microsoft.VisualStudio.RpcContracts.Editor.TextMarkerTagContract))]
[MessagePack.Union(1, typeof(Microsoft.VisualStudio.RpcContracts.Editor.CodeLensTagContract))]
public interface ITagContract : IEquatable<Microsoft.VisualStudio.RpcContracts.Editor.ITagContract>
[<MessagePack.Union(0, typeof(Microsoft.VisualStudio.RpcContracts.Editor.TextMarkerTagContract))>]
[<MessagePack.Union(1, typeof(Microsoft.VisualStudio.RpcContracts.Editor.CodeLensTagContract))>]
type ITagContract = interface
    interface IEquatable<ITagContract>
Public Interface ITagContract
Implements IEquatable(Of ITagContract)
Derived
Attributes
MessagePack.UnionAttribute
Implements

Remarks

ITagContract is used by VisualStudio.Extensibility extensions when communicating tags to Editor.

Applies to