ITextViewLine::GetAdornmentTags Method (Object^)

 

Gets the adornments positioned on the line.

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

ReadOnlyCollection<Object^>^ GetAdornmentTags(
	Object^ providerTag
)

Parameters

providerTag
Type: System::Object^

The identity tag of the provider.

This tag should match SpaceNegotiatingAdornmentTag.ProviderTag.

Return Value

Type: System.Collections.ObjectModel::ReadOnlyCollection<Object^>^

A sequence of adornment identity tags in order of their appearance on the line. The collection is always non-null but may be empty.

Exception Condition
ArgumentNullException

providerTag is null.

Return to top
Show: