Share via


ITextViewRoleSet Interface

Definition

Set of text view roles.

public interface class ITextViewRoleSet : System::Collections::Generic::IEnumerable<System::String ^>
public interface ITextViewRoleSet : System.Collections.Generic.IEnumerable<string>
type ITextViewRoleSet = interface
    interface seq<string>
    interface IEnumerable
Public Interface ITextViewRoleSet
Implements IEnumerable(Of String)
Implements

Remarks

For more information about text view roles, see the "Extending Adornments" section of Language Service and Editor Extension Points.

Methods

Contains(String)

Compute whether the given text view role is a member of the set.

ContainsAll(IEnumerable<String>)

Compute whether the set contains all of the given text view roles.

ContainsAny(IEnumerable<String>)

Compute whether the set contains at least one of the given text view roles.

UnionWith(ITextViewRoleSet)

Compute the union of the set and another text view role set.

Extension Methods

EmptyIfNull<T>(IEnumerable<T>)

Return this enumeration in case it is not null. In case it is null return empty enumeration.

Applies to